NodeSink overview
Added in v1.0.0
Table of contents
constructor
fromWritable
Signature
export declare const fromWritable: <E, A = string | Uint8Array>(
evaluate: LazyArg<Writable | NodeJS.WritableStream>,
onError: (error: unknown) => E,
options?: FromWritableOptions
) => Sink<void, A, never, E>
Added in v1.0.0
fromWritableChannel
Signature
export declare const fromWritableChannel: <IE, OE, A>(
writable: LazyArg<Writable | NodeJS.WritableStream>,
onError: (error: unknown) => OE,
options?: FromWritableOptions
) => Channel<Chunk<never>, Chunk<A>, IE | OE, IE, void, unknown>
Added in v1.0.0