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 interface GenericTransformStream
Link copied to clipboard
sealed interface QueuingStrategy<T : JsAny?>
Link copied to clipboard
Link copied to clipboard
typealias QueuingStrategySize<T> = (chunk: T) -> Int
Link copied to clipboard
open class ReadableStream<R : JsAny?>(    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
sealed interface ReadableStreamController<T : JsAny?>

Union of:

Link copied to clipboard
Link copied to clipboard
sealed interface ReadableStreamReaderMode
Link copied to clipboard
sealed interface ReadableStreamReadResult<T : JsAny?>

Union of:

Link copied to clipboard
sealed interface ReadableStreamType
Link copied to clipboard
interface ReadableWritablePair<R : JsAny?, W : JsAny?>
Link copied to clipboard
Link copied to clipboard
interface Transformer<I : JsAny?, O : JsAny?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class TransformStream<I : JsAny?, O : JsAny?>(    transformer: Transformer<I, O> = definedExternally,     writableStrategy: QueuingStrategy<I> = definedExternally,     readableStrategy: QueuingStrategy<O> = definedExternally) : Transferable
Link copied to clipboard
sealed interface UnderlyingByteSource
Link copied to clipboard
sealed interface UnderlyingDefaultSource<R : JsAny?>
Link copied to clipboard
interface UnderlyingSink<W : JsAny?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface UnderlyingSource<R : JsAny?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class WritableStream<W : JsAny?>(    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

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.