Skip to main content

TimerFixedRate

Recurring timer that fires at a fixed interval.


Properties

PropertyTypeDescription
PeriodBigIntInterval in milliseconds
PayloadanyData passed to the timer callback
StartAtDateTimeOptional — delay first execution until this time
{
Period: 60000n, // Every 60 seconds
Payload: { jobType: 'heartbeat' },
StartAt: DateTime.now().plusMinutes(5)
}

See Also