Skip to content

use blocking API to create Pub/Sub commands #16

Description

@daTokenizer

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>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions