soaprs-core 0.2.0

Core contracts for soaprs
Documentation
//! Core, infrastructure-independent contracts for soaprs.

mod clock;
mod command;
mod dispatch;
mod entity;
mod error;
mod future;
mod message;
mod query;
mod use_case;

pub use clock::Clock;
pub use command::{Command, CommandHandler};
pub use dispatch::{
    CommandDispatcher, CommandMiddleware, CommandNext, CommandPipeline, QueryDispatcher,
    QueryMiddleware, QueryNext, QueryPipeline,
};
pub use entity::Entity;
pub use error::{DiagnosticId, ErrorTransience, SoapError, SoapErrorKind, SoapResult};
pub use future::BoxFuture;
pub use message::{CausationId, CorrelationId, MessageEnvelope, MessageId, MessageMetadata};
pub use query::{Query, QueryHandler};
pub use use_case::UseCase;