diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/subscribeOn.js')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/subscribeOn.js | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/subscribeOn.js b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/subscribeOn.js new file mode 100644 index 00000000..92042f55 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/rxjs/internal/operators/subscribeOn.js @@ -0,0 +1,21 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +var SubscribeOnObservable_1 = require("../observable/SubscribeOnObservable"); +function subscribeOn(scheduler, delay) { + if (delay === void 0) { delay = 0; } + return function subscribeOnOperatorFunction(source) { + return source.lift(new SubscribeOnOperator(scheduler, delay)); + }; +} +exports.subscribeOn = subscribeOn; +var SubscribeOnOperator = (function () { + function SubscribeOnOperator(scheduler, delay) { + this.scheduler = scheduler; + this.delay = delay; + } + SubscribeOnOperator.prototype.call = function (subscriber, source) { + return new SubscribeOnObservable_1.SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber); + }; + return SubscribeOnOperator; +}()); +//# sourceMappingURL=subscribeOn.js.map
\ No newline at end of file |