CommandBus: stream existence hints on command registration (NewStream, Existing, Any) #36
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#36
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
When registering a command handler, declare a stream existence hint:
Behavior
Key: these are performance hints, not business rules
Reference
Myrra has this on command registration (StreamMustExist, StreamMustNotExist, Any).
Benchmark
Tests