IgnoreDeletes will have the key watcher not pass any deleted keys.
()
| 192 | |
| 193 | // IgnoreDeletes will have the key watcher not pass any deleted keys. |
| 194 | func 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 |
| 202 | func MetaOnly() WatchOpt { |
no test coverage detected