A function to be called after the timer expires.
Rest
...args: TArgsOptional
delay: numberThe time, in milliseconds, that the timer should wait before calling the specified function. Defaults to 0 if not specified.
Rest
...args: TArgsAdditional arguments which are passed through to the callback function.
Generated using TypeDoc
The setTimeout() method sets a timer which calls a function once the timer expires.
Returns
A numeric, non-zero value which identifies the timer created; this value can be passed to clearTimeout() to cancel the timeout.
See
setTimeout on MDN