Expand description
Creates a new JetStream Context with given JetStteam domain.
let client = async_nats::connect("localhost:4222").await?;
let jetstream = async_nats::jetstream::with_domain(client, "hub");
jetstream.publish("subject".to_string(), "data".into()).await?;