Const Creates a new timer with a timeout relative to the current date.
The name of the timer
The date to set the timer to
Optional defaultActions: TimerAction[]Optional default timer actions.
the time instance
Creates a new timer or retrieves an existing one by name.
The name of the timer.
The duration (in seconds) of the timer (default: 60 seconds).
Optional defaultActions: TimerAction[]Optional default timer actions.
The timer instance.
Adds a timeout action to an existing timer by name.
The name of the timer.
The timer action configuration to add.
The TimerManager provides utility functions to manage timers.