UNPKG

744 BTypeScriptView Raw
1import { AsyncAction } from './AsyncAction';
2import { Subscription } from '../Subscription';
3import { QueueScheduler } from './QueueScheduler';
4import { SchedulerAction } from '../types';
5import { TimerHandle } from './timerHandle';
6export declare class QueueAction<T> extends AsyncAction<T> {
7 protected scheduler: QueueScheduler;
8 protected work: (this: SchedulerAction<T>, state?: T) => void;
9 constructor(scheduler: QueueScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
10 schedule(state?: T, delay?: number): Subscription;
11 execute(state: T, delay: number): any;
12 protected requestAsyncId(scheduler: QueueScheduler, id?: TimerHandle, delay?: number): TimerHandle;
13}
14//# sourceMappingURL=QueueAction.d.ts.map
\No newline at end of file