void tick_timer_service_subscribe | ( | TimeUnits | tick_units, |
TickHandler | handler | ||
) |
Subscribe to the tick timer event service. Once subscribed, the handler gets called on every requested unit change.
handler | A callback to be executed on tick event |
tick_units | the unit change we want to handle (seconds, minutes, hours) |
void tick_timer_service_unsubscribe | ( | void | ) |
Unsubscribe from the tick timer event service. Once unsubscribed, the previously registered handler will no longer be called.