Package-level declarations

Types

Link copied to clipboard

This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.

Link copied to clipboard

This Streams API interface provides a built-in byte length queuing strategy that can be used when constructing streams.

Link copied to clipboard
sealed external interface GenericTransformStream
Link copied to clipboard
sealed external interface QueuingStrategy<T>
Link copied to clipboard
external interface QueuingStrategyInit
Link copied to clipboard
typealias QueuingStrategySize<T> = (chunk: T) -> Int
Link copied to clipboard
open external class ReadableStream<R>(underlyingSource: UnderlyingDefaultSource<R>, strategy: QueuingStrategy<R> = definedExternally) : Transferable

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.

Link copied to clipboard
Link copied to clipboard
sealed external interface ReadableStreamController<T>

Union of:

Link copied to clipboard
sealed external interface ReadableStreamGenericReader
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed external interface ReadableStreamReaderMode
Link copied to clipboard
sealed external interface ReadableStreamReadResult<T>

Union of:

Link copied to clipboard
sealed external interface ReadableStreamType
Link copied to clipboard
external interface ReadableWritablePair<R, W>
Link copied to clipboard
external interface StreamPipeOptions : Abortable
Link copied to clipboard
external interface Transformer<I, O>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open external class TransformStream<I, O>(transformer: Transformer<I, O> = definedExternally, writableStrategy: QueuingStrategy<I> = definedExternally, readableStrategy: QueuingStrategy<O> = definedExternally) : Transferable
Link copied to clipboard
sealed external interface UnderlyingByteSource
Link copied to clipboard
sealed external interface UnderlyingDefaultSource<R>
Link copied to clipboard
external interface UnderlyingSink<W>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
external interface UnderlyingSource<R>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open external class WritableStream<W>(underlyingSink: UnderlyingSink<W> = definedExternally, strategy: QueuingStrategy<W> = definedExternally) : Transferable

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.

Link copied to clipboard

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.

Link copied to clipboard
open external class WritableStreamDefaultWriter<W>(stream: WritableStream<W>)

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.