UNPKG

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