MCPcopy Create free account
hub / github.com/Migorithm/rustiful-backend / MessageBus

Class MessageBus

library/src/services/messagebus.rs:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15use std::sync::atomic::AtomicI32;
16
17pub struct MessageBus {
18 #[cfg(test)]
19 pub book_keeper: AtomicI32,
20
21 command_handler: &'static CommandHandler<AtomicContextManager>,
22 event_handler: &'static EventHandler<AtomicContextManager>,
23}
24
25impl MessageBus {
26 pub fn new(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected