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

Method configureJSContext

js.go:1247–1250  ·  view source on GitHub ↗
(js *jsOpts)

Source from the content-addressed store, hash-verified

1245type MaxWait time.Duration
1246
1247func (ttl MaxWait) configureJSContext(js *jsOpts) error {
1248 js.wait = time.Duration(ttl)
1249 return nil
1250}
1251
1252func (ttl MaxWait) configurePull(opts *pullOpts) error {
1253 opts.ttl = time.Duration(ttl)

Callers

nothing calls this directly

Calls 1

DurationMethod · 0.80

Tested by

no test coverage detected