Function wasmbus_rpc::provider::prelude::provider_main[][src]

pub fn provider_main<P>(provider_dispatch: P) -> Result<(), Box<dyn Error>> where
    P: ProviderDispatch + Send + Sync + Clone + 'static, 
Expand description

Start provider services: tokio runtime, logger, nats, and rpc subscriptions