AnimationFrameAction.d.ts 705 B

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