UNPKG

739 BTypeScriptView Raw
1import { AsyncAction } from './AsyncAction';
2import { AnimationFrameScheduler } from './AnimationFrameScheduler';
3import { SchedulerAction } from '../types';
4/**
5 * We need this JSDoc comment for affecting ESDoc.
6 * @ignore
7 * @extends {Ignored}
8 */
9export declare class AnimationFrameAction<T> extends AsyncAction<T> {
10 protected scheduler: AnimationFrameScheduler;
11 protected work: (this: SchedulerAction<T>, state?: T) => void;
12 constructor(scheduler: AnimationFrameScheduler, work: (this: SchedulerAction<T>, state?: T) => void);
13 protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
14 protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
15}