WatchKey calls f whenever the value stored under key changes.
(ctx context.Context, key string, f func(interface{}) bool)
| 119 | |
| 120 | // WatchKey calls f whenever the value stored under key changes. |
| 121 | WatchKey(ctx context.Context, key string, f func(interface{}) bool) |
| 122 | |
| 123 | // WatchPrefix calls f whenever any value stored under prefix changes. Key deletions are not notified. |
| 124 | WatchPrefix(ctx context.Context, prefix string, f func(string, interface{}) bool) |
no outgoing calls