Skip to content

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.

ParameterTypeDescription
scheduleMftScheduleSchedule whose next fire time should be computed.
fromDateReference time. Defaults to the current wall clock.

Date | undefined

The next fire time, or undefined when no future fire exists.