Streams — Web platform APIs
Manage data streams, queuing strategies, and transformations. Handle data in chunks, process large datasets, and optimize memory usage.
Eg ReadableStream, WritableStream, TransformStream
ByteLengthQueuingStrategyCompressionFormatCompressionStream— An API for compressing a stream of data.CountQueuingStrategy— This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.DecompressionStream— An API for decompressing a stream of data.GenericTransformStreamQueuingStrategyQueuingStrategyInitQueuingStrategySizeReadableByteStreamControllerReadableStream— This Streams API interface represents a readable stream of byte data. The Fetch API offers a concrete instance of a ReadableStream through the body property of a Response object.ReadableStreamBYOBReaderReadableStreamBYOBReaderReadOptionsReadableStreamBYOBRequestReadableStreamControllerReadableStreamDefaultControllerReadableStreamDefaultReaderReadableStreamGenericReaderReadableStreamGetReaderOptionsReadableStreamIteratorOptionsReadableStreamReadDoneResultReadableStreamReaderReadableStreamReaderModeReadableStreamReadResultReadableStreamReadValueResultReadableStreamTypeReadableWritablePairStreamPipeOptionsTransformerTransformerCancelCallbackTransformerFlushCallbackTransformerStartCallbackTransformerTransformCallbackTransformStreamTransformStreamDefaultControllerUnderlyingByteSourceUnderlyingDefaultSourceUnderlyingSinkUnderlyingSinkAbortCallbackUnderlyingSinkCloseCallbackUnderlyingSinkStartCallbackUnderlyingSinkWriteCallbackUnderlyingSourceUnderlyingSourceCancelCallbackUnderlyingSourcePullCallbackUnderlyingSourceStartCallbackWritableStream— This Streams API interface provides a standard abstraction for writing streaming data to a destination, known as a sink. This object comes with built-in backpressure and queuing.WritableStreamDefaultController— This Streams API interface represents a controller allowing control of a WritableStream's state. When constructing a WritableStream, the underlying sink is given a corresponding WritableStreamDefaultController instance to manipulate.WritableStreamDefaultWriter— This Streams API interface is the object returned by WritableStream.getWriter() and once created locks the < writer to the WritableStream ensuring that no other streams can write to the underlying sink.