Skip to content
Docs Try Aspire

withJetStream

Function
📦 Aspire.Hosting.Nats v13.2.0-preview.1.26159.1
interface NatsServerResource {
// ... omitted for brevity
withJetStream(): NatsServerResource;
}

Signature

method withJetStream builder
Configures the NATS resource to enable JetStream.
withJetStream(): NatsServerResource
NatsServerResource

Applies to

This function is an extension method on the following types: