thy1016/mooncmd/command does not have a README file
pub(all) suberror CommandError {
InvalidCommand(String)
UnregisteredCommand(String)
Unauthorized(String)
PreconditionFailed(String)
NotFound(String)
Conflict(Int, Int)
}pub struct CommandMessage[C] {
command : C
command_id : String
correlation_id : String
causation_id : String
user_id : String?
timestamp : Int64
metadata : Json
}fn[C] CommandMessage::with_correlation(self : CommandMessage[C], correlation_id : String) -> CommandMessage[C]Install
Download zipCommand-side event sourcing kernel for MoonBit: pure command handlers, auto-wrapped EventMessage metadata (correlation/causation), optimistic concurrency with duplicate-version rejection, SQLite event store, projections and snapshots.