Classes Files

Wombat::MamaTimerCallback

Prototype for callback invoked by timer.

Public Functions

  Name
void onTimer(MamaTimer mamaTimer, object closure)
Prototype for callback invoked by timer.
void onDestroy(MamaTimer mamaTimer, object closure)
This method is invoked when a timer has been completely destroyed, the client can have confidence that no further events will be placed on the queue for this timer.

Public Functions Documentation

function onTimer

void onTimer(
    MamaTimer mamaTimer,
    object closure
)

Prototype for callback invoked by timer.

function onDestroy

void onDestroy(
    MamaTimer mamaTimer,
    object closure
)

This method is invoked when a timer has been completely destroyed, the client can have confidence that no further events will be placed on the queue for this timer.

Parameters:

  • mamaTimer The mama timer.
  • closure The closure passed to the create function.

Updated on 2023-03-31 at 15:29:33 +0100