@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
11 lines (9 loc) • 451 B
JavaScript
import { AsyncIterableX } from '../../asynciterable/asynciterablex.js';
import { AsyncIterableReadable } from '../../asynciterable/tonodestream.js';
export function toNodeStreamProto(options) {
return !options || options.objectMode === true
? new AsyncIterableReadable(this, options)
: new AsyncIterableReadable(this, options);
}
AsyncIterableX.prototype.toNodeStream = toNodeStreamProto;
//# sourceMappingURL=tonodestream.js.map