Thanks to visit codestin.com
Credit goes to effect-ts.github.io

Skip to main content Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

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.Sink<void, A, never, E>

Source

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>

Source

Since v1.0.0

stdio

stderr

Signature

declare const stderr: Sink.Sink<void, string | Uint8Array<ArrayBufferLike>, never, PlatformError, never>

Source

Since v1.0.0

stdin

Signature

declare const stdin: Sink.Sink<void, string | Uint8Array<ArrayBufferLike>, never, PlatformError, never>

Source

Since v1.0.0

stdout

Signature

declare const stdout: Sink.Sink<void, string | Uint8Array<ArrayBufferLike>, never, PlatformError, never>

Source

Since v1.0.0