Module timer_widget

Source
Expand description

This is a TimerWidget, which times out after a specified duration, triggering a callback after the timeout is exceeded.

Structs§

TimerWidget
This is the storage object for the TimerWidget. It stores the config, properties, callback registry, an enabled flag, timeout, a last-time-triggered value, and a timeout callback store.

Type Aliases§

TimerCallbackType
This is the callback type that is used when an on_timeout callback is triggered from this Widget.