pub fn jetstream_context_for_domain(
client: Client,
domain: Option<&str>,
) -> ContextExpand description
Creates a JetStream context for an explicit optional domain.
The domain is trimmed, and a blank domain is treated as None.
ยงArguments
client- Connected NATS client; the context takes ownership of it.domain- JetStream domain, orNonefor no domain.