Skip to content

makeCooldownSystem

makeCooldownSystem<TCtx>(options?): SchedulableSystem<TCtx>

Defined in: src/modules/cooldown/cooldown.ts:46

Build a schedulable system that advances every CooldownDef each tick. Consumers poll ready and re-arm with trigger.

TCtx extends CooldownTickCtx

CooldownSystemOptions = {}

SchedulableSystem<TCtx>