MCPcopy
hub / github.com/nats-io/nats.go / Context

Function Context

js.go:1307–1309  ·  view source on GitHub ↗

Context returns an option that can be used to configure a context for APIs that are context aware such as those part of the JetStream interface.

(ctx context.Context)

Source from the content-addressed store, hash-verified

1305// Context returns an option that can be used to configure a context for APIs
1306// that are context aware such as those part of the JetStream interface.
1307func Context(ctx context.Context) ContextOpt {
1308 return ContextOpt{ctx}
1309}
1310
1311type nakDelay time.Duration
1312

Callers 5

subscribeMethod · 0.85
resetOrderedConsumerMethod · 0.85
PurgeDeletesMethod · 0.85
WatchFilteredMethod · 0.85
GetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected