UNPKG

tar

Version:
7 lines • 336 B
/** * Make a stream of the chunks of an iterator. It asks the iterator * for a chunk only when a consumer reads the stream. A cancel of the * stream calls `return()` of the iterator. */ export declare const toStream: (chunks: AsyncIterator<Uint8Array, unknown>) => ReadableStream<Uint8Array>; //# sourceMappingURL=to-stream.d.ts.map