@reactivex/ix-es2015-cjs
Version:
The Interactive Extensions for JavaScript
15 lines (13 loc) • 553 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toNodeStream = void 0;
const tonodestream_js_1 = require("../../iterable/tonodestream.js");
function toNodeStream(options) {
return function toNodeStreamOperatorFunction(source) {
return !options || options.objectMode === true
? new tonodestream_js_1.IterableReadable(source, options)
: new tonodestream_js_1.IterableReadable(source, options);
};
}
exports.toNodeStream = toNodeStream;
//# sourceMappingURL=tonodestream.js.map