• Invokes func after wait milliseconds. Any additional arguments are provided to func when it’s invoked.


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

      The function to delay.

        • (...args): any
        • Parameters

          • Rest ...args: any[]

          Returns any

    • wait: number

      The number of milliseconds to delay invocation.

    • Rest ...args: any[]

      The arguments to invoke the function with.

    Returns number

    Returns the timer id.

Generated using TypeDoc