You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
913 B
24 lines
913 B
2 years ago
|
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;
|
||
|
}
|