nextScheduleFireAt
function nextScheduleFireAt(schedule: MftSchedule, from?: Date): Date | undefined;Defined in: src/mft/MftSchedule.ts:101
Computes the next fire time for a schedule strictly after from.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
schedule | MftSchedule | Schedule whose next fire time should be computed. |
from | Date | Reference time. Defaults to the current wall clock. |
Returns
Section titled “Returns”Date | undefined
The next fire time, or undefined when no future fire exists.