a zip code crypto-currency system good for red ONLY

dom-controller.d.ts 746B

123456789101112131415161718192021222324252627282930313233343536
  1. import { Platform } from './platform';
  2. /**
  3. * @hidden
  4. */
  5. export declare class DomDebouncer {
  6. private dom;
  7. private writeTask;
  8. private readTask;
  9. constructor(dom: DomController);
  10. read(fn: DomCallback): Function;
  11. write(fn: DomCallback): Function;
  12. cancel(): void;
  13. }
  14. /**
  15. * @hidden
  16. */
  17. export declare class DomController {
  18. plt: Platform;
  19. private r;
  20. private w;
  21. private q;
  22. constructor(plt: Platform);
  23. debouncer(): DomDebouncer;
  24. read(fn: DomCallback, timeout?: number): any;
  25. write(fn: DomCallback, timeout?: number): any;
  26. cancel(fn: any): void;
  27. private _queue();
  28. private _flush(timeStamp);
  29. }
  30. /**
  31. * @hidden
  32. */
  33. export declare type DomCallback = {
  34. (timeStamp?: number): void;
  35. };