Function wrpc_cli::nats::connect

source ยท
pub async fn connect(addrs: impl ToServerAddrs) -> Result<Client>
Expand description

Connect to NATS.io server and ensure that the connection is fully established before returning the resulting async_nats::Client