UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

11 lines 343 B
import type { UnderlyingDefaultSource } from 'node:stream/web'; /** * A common interface for forkable streams. * * @group Sinks */ export interface Forkable<T> { finished: boolean; fork(underlyingSource?: UnderlyingDefaultSource<T>, queuingStrategy?: QueuingStrategy<T>): ReadableStream<T>; } //# sourceMappingURL=Forkable.d.ts.map