Bones/node_modules/rxjs/operator/subscribeOn.d.ts

13 lines
523 B
TypeScript
Raw Normal View History

2017-05-17 13:45:25 -04:00
import { Scheduler } from '../Scheduler';
import { Observable } from '../Observable';
/**
* 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
.
*/
export declare function subscribeOn<T>(scheduler: Scheduler, delay?: number): Observable<T>;