Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/hex/src/lib/stdx/mod.ts>streams.earlyZipReadableStreams

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
variable streams.earlyZipReadableStreams
Deprecated
Deprecated

(will be removed after 0.169.0) Import from std/streams/zip_readable_streams.ts instead.

Merge multiple streams into a single one, taking order into account, and each stream will wait for a chunk to enqueue before the next stream can append another chunk. If a stream ends before other ones, the others will be cancelled.

import { streams } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/mod.ts";
const { earlyZipReadableStreams } = streams;