EventAction<'T> Type
Defines the possible actions an aggregate or saga actor can take after processing a command or event.
Union cases
| Union case | Description |
Full Usage:
DeferEvent 'T
Parameters:
'T
|
|
Full Usage:
IgnoreEvent
|
|
Full Usage:
PersistAllEvents 'T list
Parameters:
'T list
|
Persist several events from one command as a single journal AtomicWrite: all land or none do (one DB transaction in the SQL plugins), and no state update, publish or saga wake-up happens until the whole batch is durable. Versions are allocated sequentially. Atomic for THIS aggregate instance only — atomicity across aggregates is saga territory. Note the read side still projects the batch event-by-event (durability is atomic, read-model visibility is not).
|
Full Usage:
PersistAndSnapshot 'T
Parameters:
'T
|
|
Full Usage:
PersistEvent 'T
Parameters:
'T
|
|
|
|
|
|
Full Usage:
StateChangedEvent 'T
Parameters:
'T
|
|
Full Usage:
UnhandledEvent
|
|
|
|
|
|
Instance members
| Instance member | Description |
Full Usage:
this.IsDeferEvent
Returns: bool
|
|
Full Usage:
this.IsIgnoreEvent
Returns: bool
|
|
Full Usage:
this.IsPersistAllEvents
Returns: bool
|
|
Full Usage:
this.IsPersistAndSnapshot
Returns: bool
|
|
Full Usage:
this.IsPersistEvent
Returns: bool
|
|
Full Usage:
this.IsPublishEvent
Returns: bool
|
|
Full Usage:
this.IsStash
Returns: bool
|
|
Full Usage:
this.IsStateChangedEvent
Returns: bool
|
|
Full Usage:
this.IsUnhandledEvent
Returns: bool
|
|
Full Usage:
this.IsUnstash
Returns: bool
|
|
Full Usage:
this.IsUnstashAll
Returns: bool
|
|
FCQRS