//! In-process domain event dispatch.
//!
//! Applications use this module to publish domain events without coupling the
//! domain service to the side effects that may run afterwards. Handlers are
//! explicit, ordered, and local to the process; distributed delivery should use
//! an application outbox.
//!
//! ```rust
//! use footing::event::{DomainEvent, DomainEventDispatcher};
//!
//! # async fn example() -> Result<(), footing::event::DomainEventError> {
//! let dispatcher = DomainEventDispatcher::new();
//! let event = DomainEvent::builder("user.created")?
//! .subject("usr_01")
//! .metadata_value("source", "admin")
//! .build();
//!
//! dispatcher.publish(&event).await.unwrap();
//! # Ok(())
//! # }
//! ```
pub use ;
pub use ;