Type alias Timer

Timer: {
    timedOut: boolean;
    timer: ReturnType<typeof setTimeout>;
    timerP: Promise<void>;
}

Use Timer to control timers

Type declaration

  • timedOut: boolean
  • timer: ReturnType<typeof setTimeout>
  • timerP: Promise<void>

Generated using TypeDoc