Skip to content

basalt / scheduler/src / SchedulerOptions

Interface: SchedulerOptions ​

Defined in: scheduler/src/index.ts:279

Extended by ​

Properties ​

hooks? ​

> optional hooks?: HookBus

Defined in: scheduler/src/index.ts:291

Hook bus for scheduler-driven hooks (reconciler:run). schedulerPlugin passes the app's bus.


lock? ​

> optional lock?: ScheduleLock

Defined in: scheduler/src/index.ts:281

Cross-replica lock for .onOneServer() entries.


lockTtlMs? ​

> optional lockTtlMs?: number

Defined in: scheduler/src/index.ts:286

TTL for each per-entry, per-tick lock key. Default 60_000 (one tick window — the key embeds the minute, so it only needs to outlive clock skew).

Released under the MIT License.