Distributed lock interface.
Implementations acquire a lock before running a scheduled job handler and release it afterward. When another instance holds the lock, the fire is skipped.
Distributed lock interface.
Implementations acquire a lock before running a scheduled job handler and release it afterward. When another instance holds the lock, the fire is skipped.
import { type IDistributedLock } from "scheduler-plugin/src/index.ts";