1 import { Scheduler } from '../Scheduler';
2 import { Action } from './Action';
3 import { AsyncAction } from './AsyncAction';
4 import { SchedulerAction } from '../types';
5 import { Subscription } from '../Subscription';
6 export declare class AsyncScheduler extends Scheduler {
7 static delegate?: Scheduler;
8 actions: Array<AsyncAction<any>>;
10 * A flag to indicate whether the Scheduler is currently executing a batch of
13 * @deprecated internal use only
17 * An internal ID used to track the latest asynchronous task such as those
18 * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and
21 * @deprecated internal use only
24 constructor(SchedulerAction: typeof Action, now?: () => number);
25 schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription;
26 flush(action: AsyncAction<any>): void;