Bones/node_modules/rxjs/operator/subscribeOn.js
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04:00

17 lines
680 B
JavaScript

"use strict";
var SubscribeOnObservable_1 = require('../observable/SubscribeOnObservable');
/**
* Asynchronously subscribes Observers to this Observable on the specified Scheduler.
*
* <img src="./img/subscribeOn.png" width="100%">
*
* @param {Scheduler} the Scheduler to perform subscription actions on.
* @returns {Observable<T>} the source Observable modified so that its subscriptions happen on the specified Scheduler
.
*/
function subscribeOn(scheduler, delay) {
if (delay === void 0) { delay = 0; }
return new SubscribeOnObservable_1.SubscribeOnObservable(this, delay, scheduler);
}
exports.subscribeOn = subscribeOn;
//# sourceMappingURL=subscribeOn.js.map