Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use blocking API to create Pub/Sub commands #16

Open
daTokenizer opened this issue Dec 4, 2016 · 0 comments
Open

use blocking API to create Pub/Sub commands #16

daTokenizer opened this issue Dec 4, 2016 · 0 comments

Comments

@daTokenizer
Copy link
Member

daTokenizer commented Dec 4, 2016

Add some sort of pub/sub mechanism to wrap POLL - waiting for some sort of "reactor" pattern or background tasks in Redis (maybe this should be a module).. right now this functionality can be w achieved by using this python script, the task is to add a blocking command named WATCH that duplicates the behaviour of the script.

Suggested syntax:

> REDE.WATCH <dehydrator_name> <channel/stream> [Hz]

where [Hz] is an optional parameter that would define the frequency in which to POLL the dehydrator <dehydrator_name> and publishes them on channel <channel> or streamed on stream <stream>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant