TickInfo
Defined in: src/tick-source.ts:11
Monotonic, source-specific per-tick snapshot. Passed to subscribers.
tickNumberis a source-local counter that starts at 0 and increments once per emitted tick. Different sources maintain independent counters.deltaMsis present only for time-driven sources (fixed/variable). Pure discrete sources (e.g. turn-based games) omit it.kindlets consumers branch on source category without type-narrowing on the concrete implementation.
Properties
Section titled “Properties”deltaMs?
Section titled “deltaMs?”
readonlyoptionaldeltaMs?:number
Defined in: src/tick-source.ts:12
readonlykind:"fixed"|"discrete"|"variable"
Defined in: src/tick-source.ts:13
tickNumber
Section titled “tickNumber”
readonlytickNumber:number
Defined in: src/tick-source.ts:14