Skip to main content

Crate jaeb

Crate jaeb 

Source
Expand description

JAEB is an in-process, actor-based event bus for Tokio applications.

It supports synchronous and asynchronous listeners, explicit dependency injection via handler structs, unsubscribe handles, retry/dead-letter failure policies, and graceful shutdown.

Re-exports§

pub use bus::EventBus;
pub use bus::EventBusBuilder;
pub use error::EventBusError;
pub use error::HandlerError;
pub use error::HandlerResult;
pub use handler::AsyncMode;
pub use handler::EventHandler;
pub use handler::IntoHandler;
pub use handler::SyncEventHandler;
pub use handler::SyncMode;
pub use subscription::Subscription;
pub use types::DeadLetter;
pub use types::Event;
pub use types::FailurePolicy;
pub use types::SubscriptionId;

Modules§

bus
error
handler
subscription
types