Skip to main content

run_daemon_with_bus

Function run_daemon_with_bus 

Source
pub fn run_daemon_with_bus(
    listener: &TcpListener,
    injector: Arc<dyn Injector>,
    opts: &DaemonOptions,
    bus: &CommandBus,
) -> Result<(), AppError>
Expand description

Run the daemon with a caller-provided command bus. Relay-device mode uses this to share one bus between its outbound Helsinki connection and the local listener serving any number of omni listen clients.