Mfrom
Bun

method

http.IncomingMessage.from

static from(
iterable: Iterable<any, any, any> | AsyncIterable<any, any, any>,

A utility method for creating Readable Streams out of iterators.

@param iterable

Object implementing the Symbol.asyncIterator or Symbol.iterator iterable protocol. Emits an 'error' event if a null value is passed.

@param options

Options provided to new stream.Readable([options]). By default, Readable.from() will set options.objectMode to true, unless this is explicitly opted out by setting options.objectMode to false.