Function setInterval

  • Run a function periodically with a given interval. Mimics the behavior of setInterval in the browser.

    Returns

    A unique ID for removing the interval.

    Parameters

    • callback: Function
    • time: number

      The interval in milliseconds.

    Returns string

Generated using TypeDoc