pub fn spawn(
    bus: BusConnector<Event>,
    services: Vec<Service>,
) -> std::thread::JoinHandle<ExitStatus> {
    thread::spawn(move || Supervisor::new(bus, services).run())
}
// Spawns and runs this component in a new thread.
Spawns and runs this component in a new thread.
Spawns and runs this component in a new thread .
pub fn spawn(
    bus: BusConnector<Event>,
    services: Vec<Service>,
) -> std::thread::JoinHandle<ExitStatus> {
    thread::spawn(move || Supervisor::new(bus, services).run())
}
pub fn spawn ( bus : BusConnector < Event > , services : Vec < Service > , ) -> std :: thread :: JoinHandle < ExitStatus > { thread :: spawn ( move | | Supervisor :: new ( bus , services ) . run ( ) ) }
Spawns and runs this component in a new thread.
Spawns and runs this component in a new thread .
bus
BusConnector<Event>
services
Vec<Service>
bus
BusConnector<Event>
services
Vec<Service>