Function setInterval

  • Calls a function repeatedly, with a fixed time delay between each call.

    Parameters

    • callback: (() => void)

      The function to call.

        • (): void
        • Returns void

    • ms: number

      The number of milliseconds to wait before calling the function.

    Returns number

Generated using TypeDoc