• Defers invoking the func until the current call stack has cleared. Any additional arguments are provided to func when it’s invoked.

    Parameters

    • func: ((...args) => any)

      The function to defer.

        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • Rest ...args: any[]

      The arguments to invoke the function with.

    Returns number

    Returns the timer id.

Generated using TypeDoc