Function useTimer

  • Returns {
        clearTimer: (() => void);
        setTimer: ((cb, delay) => void);
    }

    • clearTimer: (() => void)
        • (): void
        • Returns void

    • setTimer: ((cb, delay) => void)
        • (cb, delay): void
        • Parameters

          • cb: any
          • delay: number

          Returns void

Generated using TypeDoc