MCPcopy Create free account
hub / github.com/nodejs/node / fromReadable

Function fromReadable

lib/internal/streams/pipeline.js:90–93  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

88}
89
90async function* fromReadable(val) {
91 Readable ??= require('internal/streams/readable');
92 yield* Readable.prototype[SymbolAsyncIterator].call(val);
93}
94
95async function pumpToNode(iterable, writable, finish, { end }) {
96 let error;

Callers 1

makeAsyncIterableFunction · 0.70

Calls 2

requireFunction · 0.50
callMethod · 0.45

Tested by

no test coverage detected