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

Method WatchAll

kv.go:1008–1010  ·  view source on GitHub ↗

WatchAll watches all keys.

(opts ...WatchOpt)

Source from the content-addressed store, hash-verified

1006
1007// WatchAll watches all keys.
1008func (kv *kvs) WatchAll(opts ...WatchOpt) (KeyWatcher, error) {
1009 return kv.Watch(AllKeys, opts...)
1010}
1011
1012func (kv *kvs) WatchFiltered(keys []string, opts ...WatchOpt) (KeyWatcher, error) {
1013 for _, key := range keys {

Callers 3

PurgeDeletesMethod · 0.95
KeysMethod · 0.95
ListKeysMethod · 0.95

Calls 1

WatchMethod · 0.95

Tested by

no test coverage detected