UNPKG

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