the type of Serializable events
the type of Serializable state
the type of all Serializable events
An event sourced entity command handler.
The command message, this will be of the type of the gRPC service call input type
The entity state
The command context
The message to reply with, it must match the gRPC service call output type for this command, or if a Reply is returned, contain an object that matches the output type
Event sourced entity command handlers.
the type of Serializable state
the type of all Serializable events
An event sourced entity event handler.
the type of Serializable state
the type of all Serializable events
Event sourced entity event handlers.
the type of Serializable state
the type of all Serializable events
An event sourced entity behavior.
the type of Serializable state
the type of all Serializable events
optional type of CommandHandlers
optional type of EventHandlers
The command handlers.
The names of the properties must match the names of the service calls specified in the gRPC descriptor for this event sourced entity's service.
The event handlers.
The names of the properties must match the short names of the events.
the type of Serializable state
the type of all Serializable events
optional type of CommandHandlers
optional type of EventHandlers
An event sourced entity behavior callback.
This callback takes the current entity state, and returns a set of handlers to handle commands and events for it.
The entity state
The new entity state
the type of Serializable state
Initial state callback.
This is invoked if the entity is started with no snapshot.
The entity id
The entity state
Generated using TypeDoc
Context for an event sourced command.