pub fn jetstream_context(client: Client) -> ContextExpand description
Creates the default JetStream context, using JS_DOMAIN as the domain if set.
Equivalent to jetstream_context_from_env with JS_DOMAIN.
ยงArguments
client- Connected NATS client; the context takes ownership of it.