biofriction-wp-theme/node_modules/rxjs/_esm2015/operator/subscribeOn.js

16 lines
615 B
JavaScript
Raw Permalink Normal View History

2021-10-26 14:18:09 +02:00
import { subscribeOn as higherOrder } from '../operators/subscribeOn';
/**
* Asynchronously subscribes Observers to this Observable on the specified IScheduler.
*
* <img src="./img/subscribeOn.png" width="100%">
*
* @param {Scheduler} scheduler - The IScheduler to perform subscription actions on.
* @return {Observable<T>} The source Observable modified so that its subscriptions happen on the specified IScheduler.
.
* @method subscribeOn
* @owner Observable
*/
export function subscribeOn(scheduler, delay = 0) {
return higherOrder(scheduler, delay)(this);
}
//# sourceMappingURL=subscribeOn.js.map