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

Method message_bus

library/src/bootstrap.rs:23–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

21pub struct Boostrap;
22impl Boostrap {
23 pub async fn message_bus() -> std::sync::Arc<MessageBus> {
24 MessageBus::new(command_handler().await, event_handler().await)
25 }
26}
27
28///* `Dependency` is the struct you implement injectable dependencies that will be called inside the function.

Callers

nothing calls this directly

Calls 2

command_handlerFunction · 0.85
event_handlerFunction · 0.85

Tested by

no test coverage detected