UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

10 lines (9 loc) 241 B
/** * A common interface for forkable streams. * * @group Sinks */ export interface Forkable<T> { finished: boolean; fork(underlyingSource?: UnderlyingDefaultSource<T>, queuingStrategy?: QueuingStrategy<T>): ReadableStream<T>; }