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

Function IgnoreDeletes

kv.go:194–199  ·  view source on GitHub ↗

IgnoreDeletes will have the key watcher not pass any deleted keys.

()

Source from the content-addressed store, hash-verified

192
193// IgnoreDeletes will have the key watcher not pass any deleted keys.
194func IgnoreDeletes() WatchOpt {
195 return watchOptFn(func(opts *watchOpts) error {
196 opts.ignoreDeletes = true
197 return nil
198 })
199}
200
201// MetaOnly instructs the key watcher to retrieve only the entry meta data, not the entry value
202func MetaOnly() WatchOpt {

Callers 3

KeysMethod · 0.70
ListKeysMethod · 0.70
ListMethod · 0.70

Calls 1

watchOptFnFuncType · 0.70

Tested by

no test coverage detected