AsapAction.d.ts 615 B

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