GET.WATCH
Syntax
GET.WATCH key
GET.WATCH creates a query subscription over the GET command. The client invoking the command will receive the output of the GET command (not just the notification) whenever the value against the key is updated.
You can update the key in any other client. The GET.WATCH client will receive the updated value.
Examples
client1:7379> SET k1 v1OK OKclient1:7379> GET.WATCH k1entered the watch mode for GET.WATCH k1
client2:7379> SET k1 v2OK OK
client1:7379> ...entered the watch mode for GET.WATCH k1OK [fingerprint=2356444921] v2