import * as mod from "https://deno.land/std@0.144.0/streams/mod.ts";
Utilities for working with the Streams API. Includes buffering and conversion.
Classes
Buffer | A variable-sized buffer of bytes with |
DelimiterStream | Transform a stream into a stream where each chunk is divided by a given delimiter. |
LimitedBytesTransformStream | A TransformStream that will only read & enqueue |
LimitedTransformStream | A TransformStream that will only read & enqueue |
LineStream 👎 deprecated | |
TextDelimiterStream | Transform a stream into a stream where each chunk is divided by a given delimiter. |
TextLineStream | Transform a stream into a stream where each chunk is divided by a newline,
be it |
Functions
copy | Copies from |
earlyZipReadableStreams | 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. |
iterateReader | Turns a Reader, |
iterateReaderSync | Turns a ReaderSync, |
mergeReadableStreams | Merge multiple streams into a single one, not taking order into account. If a stream ends before other ones, the other will continue adding data, and the finished one will not add any more data. |
readableStreamFromIterable | Create a |
readableStreamFromReader | Create a |
readAll | Read Reader |
readAllSync | Synchronously reads Reader |
readerFromIterable | Create a |
readerFromStreamReader | Create a |
toTransformStream | Convert the generator function into a TransformStream. |
writableStreamFromWriter | Create a |
writeAll | Write all the content of the array buffer ( |
writeAllSync | Synchronously write all the content of the array buffer ( |
writerFromStreamWriter | Create a |
zipReadableStreams | 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 continue adding data in order, and the finished one will not add any more data. |