Skip to main content

install

Function install 

Source
pub fn install(
    broker: Arc<Broker>,
    agents: impl Fn() -> HashMap<String, String> + Send + Sync + 'static,
) -> Arc<Hub> ⓘ
Expand description

Start publishing on broker for the rest of the process, and return the hub for run. The first call wins.