UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

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