Notifications for timer.
interface ref TimerNotify
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
- Bool val
Called if the timer is cancelled. This is also called if the notifier returns false.
fun ref cancel( timer: Timer ref) : None val
- timer: Timer ref
- None val