Snapshot
@rotorsoft/act-root / act/src / Snapshot
Type Alias: Snapshot<S, E>
Snapshot<
S
,E
> =object
Defined in: libs/act/src/types/action.ts:102
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?
readonly
optional
event:Committed
<E
, keyofE
>
Defined in: libs/act/src/types/action.ts:104
patches
readonly
patches:number
Defined in: libs/act/src/types/action.ts:105
snaps
readonly
snaps:number
Defined in: libs/act/src/types/action.ts:106
state
readonly
state:S
Defined in: libs/act/src/types/action.ts:103