RunSchedulesOptions
Parameters and properties
Section titled “Parameters and properties”queueRequiredTaskQueueQueue receiving one trigger job per slot; share it between scheduler replicas so they converge on the same job.schedulesRequiredreadonly TriggerSchedule[]At least one schedule, each with a unique name.signalRequiredAbortSignalStops every schedule; runSchedules() then resolves.maxLateMsOptionalnumber | undefinedMaximum delay after a slot for it to still be published, including at startup; defaults to 60000. Only the latest slot within this window is published; a negative or non-integer value rejects.onErrorOptional((error: unknown, failure: ScheduleFailure) => void) | undefinedReceives each publication failure with its schedule and slot, and scheduling continues; without it the first failure stops every schedule and rejects runSchedules(). Errors thrown by the callback are ignored.