Companion

Functions

Link copied to clipboard
fun from(iterable: ERROR CLASS: Symbol not found for AsyncIterable<kotlin/Any?>, options: ReadableOptions<*> = definedExternally): Readable
fun from(iterable: ERROR CLASS: Symbol not found for js.iterable.JsIterable<kotlin/Any?>, options: ReadableOptions<*> = definedExternally): Readable

A utility method for creating Readable Streams out of iterators.

Link copied to clipboard
fun fromWeb(readableStream: ERROR CLASS: Symbol not found for web.streams.ReadableStream<*>, 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: Symbol not found for web.streams.ReadableStream<*>

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