Tumortisch-Dist/resources/app/node_modules/rxjs/operators/subscribeOn.d.ts

15 lines
612 B
TypeScript
Raw Normal View History

2021-06-15 16:00:08 +02:00
import { IScheduler } from '../Scheduler';
import { MonoTypeOperatorFunction } from '../interfaces';
/**
* 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>(scheduler: IScheduler, delay?: number): MonoTypeOperatorFunction<T>;