UNPKG

@johngw/stream

Version:

Reactive programming tools using the WHATWG Streams API.

15 lines 282 B
/** * Queues the first item it receives then terminates the stream. * * @group Transformers * @example * ``` * --1--X * * first() * * --1--| * ``` */ export declare function first<T>(): import("node:stream/web").TransformStream<T, T>; //# sourceMappingURL=first.d.ts.map