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

Method configureSubscribe

js.go:1265–1268  ·  view source on GitHub ↗
(opts *subOpts)

Source from the content-addressed store, hash-verified

1263}
1264
1265func (ttl AckWait) configureSubscribe(opts *subOpts) error {
1266 opts.cfg.AckWait = time.Duration(ttl)
1267 return nil
1268}
1269
1270func (ttl AckWait) configureAck(opts *ackOpts) error {
1271 opts.ttl = time.Duration(ttl)

Callers

nothing calls this directly

Calls 1

DurationMethod · 0.80

Tested by

no test coverage detected