Skip to content

lobs.timer

Sheepolution edited this page Jan 25, 2024 · 1 revision

lobs.timer

lobs.timer.addTimer

function timer.addTimer(callback: function, ms: number)

Add a timer.

@param callback — The function to call on each interval.

@param ms — The interval in milliseconds.

lobs.timer.removeTimer

function timer.removeTimer(callback: function)

Remove a timer.

@param callback — The function that was used in the timer.

Clone this wiki locally