Front end of the Slack clone application.

AnimationFrameAction.d.ts 705B

123456789101112131415
  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. }