setTimeout()
setTimeout(
handler,milliseconds?, …args):Timeout
Defined in: server/api.d.ts:8981
Calls a function once after a delay.
Parameters
Section titled “Parameters”handler
Section titled “handler”(…args) => void
Function to call.
milliseconds?
Section titled “milliseconds?”number
Delay before the call.
…unknown[]
Arguments passed to the handler.
Returns
Section titled “Returns”Handle to pass to the matching clear function.