ix
Version:
The Interactive Extensions for JavaScript
11 lines (9 loc) • 382 B
JavaScript
import { AsyncIterableReadable } from '../tonodestream.mjs';
export function toNodeStream(options) {
return function toNodeStreamOperatorFunction(source) {
return !options || options.objectMode === true
? new AsyncIterableReadable(source, options)
: new AsyncIterableReadable(source, options);
};
}
//# sourceMappingURL=tonodestream.mjs.map