pub fn wait_all(self) {
        for service in self.services {
            match service.inner {
                Inner::Thread { handler } => handler.join().unwrap(),
                Inner::Tokio { runtime } => runtime.shutdown_on_idle().wait().unwrap(),
            }
        }
    }
/// join on all the started services. this function will block
/// until all services return
///
join on all the started services. this function will block
until all services return
join on all the started services . this function will block until all services return
pub fn wait_all(self) {
        for service in self.services {
            match service.inner {
                Inner::Thread { handler } => handler.join().unwrap(),
                Inner::Tokio { runtime } => runtime.shutdown_on_idle().wait().unwrap(),
            }
        }
    }
pub fn wait_all ( self ) { for service in self . services { match service . inner { Inner :: Thread { handler } => handler . join ( ) . unwrap ( ) , Inner :: Tokio { runtime } => runtime . shutdown_on_idle ( ) . wait ( ) . unwrap ( ) , } } }
join on all the started services.
join on all the started services .
self
self