Skip to content
M2O Scripting APIScripting reference
Global functionClient APIGenerated

setInterval()

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

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

Calls a function repeatedly, waiting the delay between calls.

(…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.