from

abstract fun from(iterable: Value): Readable

Create a new Readable stream from the given iterable.

Return

The new readable stream.

Parameters

iterable

The iterable to create the stream from.


abstract fun from(iterable: Value, options: Value): Readable
abstract fun from(iterable: Iterable<*>, options: ReadableFromOptions): Readable

Create a new Readable stream from the given iterable.

Return

The new readable stream.

Parameters

iterable

The iterable to create the stream from.

options

The options for the stream.