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

Function IgnoreDeletes

jetstream/kv_options.go:52–57  ·  view source on GitHub ↗

IgnoreDeletes will prevent the key watcher from passing any deleted keys.

()

Source from the content-addressed store, hash-verified

50
51// IgnoreDeletes will prevent the key watcher from passing any deleted keys.
52func IgnoreDeletes() WatchOpt {
53 return watchOptFn(func(opts *watchOpts) error {
54 opts.ignoreDeletes = true
55 return nil
56 })
57}
58
59// MetaOnly instructs the key watcher to retrieve only the entry metadata, not
60// the entry value.

Callers 4

KeysMethod · 0.70
ListKeysMethod · 0.70
ListKeysFilteredMethod · 0.70
ListMethod · 0.70

Calls 1

watchOptFnFuncType · 0.70

Tested by

no test coverage detected