NodeSink.ts overview
Since v1.0.0
Exports Grouped by Category
constructor
fromWritable
Signature
declare const fromWritable: <E, A = string | Uint8Array<ArrayBufferLike>>(
evaluate: LazyArg<Writable | NodeJS.WritableStream>,
onError: (error: unknown) => E,
options?: FromWritableOptions
) => Sink<void, A, never, E>
Since v1.0.0
fromWritableChannel
Signature
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>
Since v1.0.0