1 import { AsyncAction } from './AsyncAction';
2 import { AsapScheduler } from './AsapScheduler';
3 import { SchedulerAction } from '../types';
5 * We need this JSDoc comment for affecting ESDoc.
9 export declare class AsapAction<T> extends AsyncAction<T> {
10 protected scheduler: AsapScheduler;
11 protected work: (this: SchedulerAction<T>, state?: T) => void;
12 constructor(scheduler: AsapScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
13 protected requestAsyncId(scheduler: AsapScheduler, id?: any, delay?: number): any;
14 protected recycleAsyncId(scheduler: AsapScheduler, id?: any, delay?: number): any;