-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
It should be possible for Disco clients to subscribe to updates of individual keys or a group of keys.
Suggested implementation
This might need rethinking but:
- There could be a
--watchor--subscribeflag on thegetcommand.
If the--remoteflag is also specified, then the client connects to the Server-Sent Events endpoint on the server, subscribing to the requested keys. The SSE functionality should be implemented on the server first. - The
getcommand could also support a--tagsflag, to watch a group of keys without having to specify each one. Tagging keys should be implemented first.