Timer TypeSet

Any of the following prototypes will work for a timed function.

function Action(Handle timer, Handle hndl)

Called when the timer interval has elapsed.

Parameters

timer

Handle to the timer object.

hndl

Handle passed to CreateTimer() when timer was created.

return

Plugin_Stop to stop a repeating timer, any other value for default behavior.

function Action(Handle timer, any data)

Called when the timer interval has elapsed.

Parameters

timer

Handle to the timer object.

data

Data passed to CreateTimer() when timer was created.

return

Plugin_Stop to stop a repeating timer, any other value for default behavior.

function Action(Handle timer)

Called when the timer interval has elapsed.

Parameters

timer

Handle to the timer object.

return

Plugin_Stop to stop a repeating timer, any other value for default behavior.