TimerNotify [Src]

Notifications for timer.

interface ref TimerNotify

Public Functions

apply [Src]

Called with the the number of times the timer has fired since this was last called. Return true to reschedule the timer (if it has an interval), or false to cancel the timer (even if it has an interval).

fun ref apply(
  timer: Timer ref,
  count: U64 val)
: Bool val

Parameters

Returns


cancel [Src]

Called if the timer is cancelled. This is also called if the notifier returns false.

fun ref cancel(
  timer: Timer ref)
: None val

Parameters

Returns