Tumortisch-Dist/resources/app/node_modules/rxjs/observable/SubscribeOnObservable.d.ts

24 lines
913 B
TypeScript
Raw Permalink Normal View History

2021-06-15 16:00:08 +02:00
import { Action } from '../scheduler/Action';
import { IScheduler } from '../Scheduler';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
import { Observable } from '../Observable';
export interface DispatchArg<T> {
source: Observable<T>;
subscriber: Subscriber<T>;
}
/**
* We need this JSDoc comment for affecting ESDoc.
* @extends {Ignored}
* @hide true
*/
export declare class SubscribeOnObservable<T> extends Observable<T> {
source: Observable<T>;
private delayTime;
private scheduler;
static create<T>(source: Observable<T>, delay?: number, scheduler?: IScheduler): Observable<T>;
static dispatch<T>(this: Action<T>, arg: DispatchArg<T>): Subscription;
constructor(source: Observable<T>, delayTime?: number, scheduler?: IScheduler);
/** @deprecated internal use only */ _subscribe(subscriber: Subscriber<T>): Subscription;
}