cortexkit-bus-inmemory 0.3.2

Deterministic in-memory backend for the CortexKit NATS-shaped bus traits
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Process-local implementation of the NATS-shaped bus traits.
//!
//! State intentionally disappears when the final [`InMemoryBus`] handle is
//! dropped. Server enforcement, leaves, and system events are not emulated.

mod backend;
mod conformance;
mod register;
mod stream;
mod work_queue;

pub use backend::{
    BackendEvent, InMemoryBus, InMemoryConfig, WorkQueueConfig, DEFAULT_DEDUPLICATION_WINDOW,
    DEFAULT_STREAM_ACK_WAIT,
};
pub use conformance::InMemoryConformance;
pub use register::InMemoryRegisterWatch;
pub use stream::InMemoryStreamCursor;