Skip to content
KCKingdoms Connected Scripting APIScripting guides and API
Global functionClient APIGenerated

setTimeout()

setTimeout(handler, milliseconds?, …args): number

Defined in: client/api.d.ts:5587

Calls a function once after a delay.

(…args) => void

Function to call.

number

Delay before the call.

…unknown[]

Arguments passed to the handler.

number

Handle to pass to the matching clear function.