mirror of
https://github.com/biobulkbende/biobulkbende.org.git
synced 2024-12-27 05:15:25 +00:00
15 lines
705 B
TypeScript
15 lines
705 B
TypeScript
|
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;
|
||
|
}
|