You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
705 B
15 lines
705 B
2 years ago
|
import { AsyncAction } from './AsyncAction';
|
||
|
import { AnimationFrameScheduler } from './AnimationFrameScheduler';
|
||
|
/**
|
||
|
* We need this JSDoc comment for affecting ESDoc.
|
||
|
* @ignore
|
||
|
* @extends {Ignored}
|
||
|
*/
|
||
|
export declare class AnimationFrameAction<T> extends AsyncAction<T> {
|
||
|
protected scheduler: AnimationFrameScheduler;
|
||
|
protected work: (this: AnimationFrameAction<T>, state?: T) => void;
|
||
|
constructor(scheduler: AnimationFrameScheduler, work: (this: AnimationFrameAction<T>, state?: T) => void);
|
||
|
protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
|
||
|
protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any;
|
||
|
}
|