//! Transactional outbox primitives for the Hexeract messaging framework.
//!
//! The outbox pattern stores outgoing domain events in the same database
//! transaction as the business state mutation, then a worker polls the
//! table and dispatches each row to its registered handler. This crate
//! ships the backend-agnostic primitives: the [`Event`] marker trait, the
//! persisted [`OutboxEnvelope`] row representation, and the unified
//! [`OutboxError`] type.
//!
//! Backend implementations live in companion crates such as
//! `hexeract-outbox-postgres`.
/// Persisted representation of an event awaiting dispatch.
/// Errors raised by the outbox primitives, publishers and workers.
/// Marker trait for domain events that flow through the outbox.
/// Asynchronous handler contract dispatched by the worker.
/// Backend-agnostic contract for inserting events into the outbox.
/// Poll loop worker, type-erased dispatch and store abstraction.
pub use OutboxEnvelope;
pub use OutboxError;
pub use Event;
pub use Handler;
pub use OutboxPublisher;
pub use ;