CommandState
Represents the state of command processing in a command aggregate.
This enum defines the lifecycle states of command processing: from initial storage, through event sourcing, to final storage, and eventual expiration.
STORED: Initial state, supports sourcing events
SOURCED: After sourcing, supports storing events
EXPIRED: Final state, no operations supported
Entries
Properties
Functions
Applies event sourcing to the state aggregate with the given event stream.
Stores the event stream in the event store.
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.