Expand description
Core, infrastructure-independent contracts for soaprs.
Structs§
- Causation
Id - Identity of the message that directly caused another message.
- Command
Next - Remaining command middleware followed by the final typed handler.
- Command
Pipeline - Ordered middleware pipeline ending in one typed command handler.
- Correlation
Id - Identity shared by messages that belong to one application flow.
- Diagnostic
Id - Opaque identifier used to correlate a returned error with diagnostics.
- Message
Envelope - A strongly typed message together with tracing metadata.
- Message
Id - Stable identity of a command, query, or event message.
- Message
Metadata - Metadata carried independently from a strongly typed message payload.
- Query
Next - Remaining query middleware followed by the final typed handler.
- Query
Pipeline - Ordered middleware pipeline ending in one typed query handler.
- Soap
Error - Stable application error with optional technical diagnostics.
Enums§
- Error
Transience - Whether the underlying failure condition is expected to be short-lived.
- Soap
Error Kind - Stable category of a
SoapError.
Traits§
- Clock
- Supplies wall-clock time without making core services read the system clock.
- Command
- A named operation that may change application state.
- Command
Dispatcher - Dispatches one concrete command type while preserving its output type.
- Command
Handler - Handles one concrete command type.
- Command
Middleware - Intercepts one concrete command type around its next processing step.
- Entity
- A domain object with a stable identity.
- Query
- A named read operation with an output type fixed by the query itself.
- Query
Dispatcher - Dispatches one concrete query type while preserving its output type.
- Query
Handler - Handles one concrete query type.
- Query
Middleware - Intercepts one concrete query type around its next processing step.
- UseCase
- An object-safe asynchronous application operation.
Type Aliases§
- BoxFuture
- A sendable future tied to the lifetime of the borrowed service.
- Soap
Result - Result type returned by soaprs ports.