Skip to content

Experimental options

Opt-in APIs and options outside the stable surface.

Updated

Experimental options

These options, methods, and capabilities are opt-in: none takes effect unless you set, call, or construct it, so leaving them alone keeps every behavior described above. Their names and behavior may change in a minor release. Scheduler options also apply to the private scheduler of a helper configured with context.

const scheduler = new DurabilityScheduler({
  context: this.ctx,
  liveTimers: true,
});

const alarms = new DurabilityAlarms({
  scheduler,
  handlers: { tick: async () => this.enqueueDueRuns() },
});

await alarms.tick.cancel();

See scheduler options, alarm cancellation, and recurring schedules.

Type to search…

↑↓ navigate↵ selectEsc close