Immediate.d.ts 328 B

12345678910111213
  1. /**
  2. * Helper functions to schedule and unschedule microtasks.
  3. */
  4. export declare const Immediate: {
  5. setImmediate(cb: () => void): number;
  6. clearImmediate(handle: number): void;
  7. };
  8. /**
  9. * Used for internal testing purposes only. Do not export from library.
  10. */
  11. export declare const TestTools: {
  12. pending(): number;
  13. };