source: trip-planner-front/node_modules/rxjs/internal/operators/subscribeOn.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 855 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var SubscribeOnObservable_1 = require("../observable/SubscribeOnObservable");
4function subscribeOn(scheduler, delay) {
5 if (delay === void 0) { delay = 0; }
6 return function subscribeOnOperatorFunction(source) {
7 return source.lift(new SubscribeOnOperator(scheduler, delay));
8 };
9}
10exports.subscribeOn = subscribeOn;
11var SubscribeOnOperator = (function () {
12 function SubscribeOnOperator(scheduler, delay) {
13 this.scheduler = scheduler;
14 this.delay = delay;
15 }
16 SubscribeOnOperator.prototype.call = function (subscriber, source) {
17 return new SubscribeOnObservable_1.SubscribeOnObservable(source, this.delay, this.scheduler).subscribe(subscriber);
18 };
19 return SubscribeOnOperator;
20}());
21//# sourceMappingURL=subscribeOn.js.map
Note: See TracBrowser for help on using the repository browser.