UI for Zipcoin Blue

QueueAction.d.ts 682B

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