rxjs-compat
Version:
<img src="doc/asset/Rx_Logo_S.png" alt="RxJS Logo" width="86" height="86"> RxJS: Reactive Extensions For JavaScript ======================================
14 lines (13 loc) • 571 B
TypeScript
import { Observable, SchedulerLike } from 'rxjs';
/**
* 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 declare function subscribeOn<T>(this: Observable<T>, scheduler: SchedulerLike, delay?: number): Observable<T>;