Snapshot
@rotorsoft/act-root / act/src / Snapshot
Type Alias: Snapshot<S, E>
Snapshot<
S,E> =object
Defined in: libs/act/src/types/action.ts:113
Represents a snapshot of state at a point in the event stream.
Type Parameters
S
S extends Schema
State schema.
E
E extends Schemas
Event schemas.
Properties
event?
readonlyoptionalevent:Committed<E, keyofE>
Defined in: libs/act/src/types/action.ts:115
patches
readonlypatches:number
Defined in: libs/act/src/types/action.ts:116
snaps
readonlysnaps:number
Defined in: libs/act/src/types/action.ts:117
state
readonlystate:S
Defined in: libs/act/src/types/action.ts:114