Dispatcher.d.ts 250 B

1234567891011
  1. import types = require('./types');
  2. declare class Dispatcher {
  3. dispatch(payload: any);
  4. register(cb: types.AnyFn): void;
  5. waitFor(ids: string[]): void;
  6. unregister(id: string): void;
  7. isDispatching(): boolean;
  8. }
  9. export = Dispatcher;