selene.schedules

Provides scheduling functions for timeouts, intervals, and periodic signals.
PropertyTypeDescription
EverySecond
Fired every second.
EveryMinute
Fired every full minute.
EveryHour
Fired every full hour.
Function
SetTimeout(intervalMs: number, callback: function(), options: { name: string }): timeoutId
Schedules a function to run once after a delay.
ClearTimeout(timeoutId: number)
Cancels a scheduled timeout by its ID.
SetInterval(intervalMs: number, callback: function(), options: { name: string; immediate: boolean }): intervalId
Schedules a function to run repeatedly at intervals.
ClearInterval(intervalId: number)
Cancels a scheduled interval by its ID.