v0.13.8

C_Timer.NewTicker

functionimplementedavailable in: camelot

Schedules a cancelable repeating timer.

signaturewowlua
function C_Timer.NewTicker(    seconds: number,    callback: TickerCallback,    iterations: number?): TickerCallback

Parameters

nametypedescription
secondsnumberTime in seconds between each iteration.
callbackTickerCallbackCallback function to run. It will be supplied a view of the timer handle (cbObject) when invoked. The handle returned from the function and the one supplied to the callback are distinct objects that both reference a shared state.
iterationsnumber?Number of times to repeat, or indefinite if omitted.

Returns

cbObject · TickerCallback

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (UITimer system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.