CacheEntry
@rotorsoft/act-root / act/src / CacheEntry
Interface: CacheEntry<TState>
Defined in: libs/act/src/types/ports.ts:1207
A cached snapshot entry for a stream.
Carries its own stream key so an entry is self-describing when it
travels away from the cache map โ state projections flush entries
outward as-is, one per dirty stream.
Type Parametersโ
TStateโ
TState extends Schema
The state schema type
Propertiesโ
event_idโ
readonlyevent_id:number
Defined in: libs/act/src/types/ports.ts:1211
patchesโ
readonlypatches:number
Defined in: libs/act/src/types/ports.ts:1212
snapsโ
readonlysnaps:number
Defined in: libs/act/src/types/ports.ts:1213
stateโ
readonlystate:TState
Defined in: libs/act/src/types/ports.ts:1209
streamโ
readonlystream:string
Defined in: libs/act/src/types/ports.ts:1208
versionโ
readonlyversion:number
Defined in: libs/act/src/types/ports.ts:1210