hugoWebsite/node_modules/rxjs/dist/cjs/internal/operators/subscribeOn.js
Jeremy Nusser 0ab675d92b Initial commit... 🎉🎉🎉
2022-10-28 17:20:35 -05:00

12 lines
No EOL
474 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.subscribeOn = void 0;
var lift_1 = require("../util/lift");
function subscribeOn(scheduler, delay) {
if (delay === void 0) { delay = 0; }
return lift_1.operate(function (source, subscriber) {
subscriber.add(scheduler.schedule(function () { return source.subscribe(subscriber); }, delay));
});
}
exports.subscribeOn = subscribeOn;
//# sourceMappingURL=subscribeOn.js.map