Companion

Functions

Link copied to clipboard
fun from(iterable: <Error class: unknown class><Any?>, options: ReadableOptions<*> = definedExternally): Readable
fun from(iterable: <Error class: unknown class><Any?>, options: ReadableOptions<*> = definedExternally): Readable

A utility method for creating Readable Streams out of iterators.

Link copied to clipboard
fun fromWeb(    readableStream: <Error class: unknown class><out <Error class: unknown class>>,     options: ReadableOptions<*> = definedExternally): Readable

A utility method for creating a Readable from a web ReadableStream.

Link copied to clipboard

Returns whether the stream has been read from or cancelled.

Link copied to clipboard
fun toWeb(    streamReadable: Readable,     options: ReadableToWebOptions = definedExternally): <Error class: unknown class><out <Error class: unknown class>>

A utility method for creating a web ReadableStream from a Readable.