TimerOnce
Single-execution timer fired at a specific point in time.
Properties
| Property | Type | Description |
|---|---|---|
When | DateTime | The exact time to fire the timer |
Payload | any | Data passed to the timer callback |
{
When: DateTime.now().plusDays(1).withHour(9).withMinute(0),
Payload: { jobType: 'daily-report' }
}
See Also
TimerChoice— Container for timer configurationsTimerResponse— Register timers via the Timer API