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

predis-async with lists #14

Closed
miladr opened this issue Dec 4, 2014 · 2 comments
Closed

predis-async with lists #14

miladr opened this issue Dec 4, 2014 · 2 comments

Comments

@miladr
Copy link

miladr commented Dec 4, 2014

Is it possible to use predis-async as a listener to a list in Redis?
When ever there is an item in a list, pop it and run a callback and if there is not an item wait for an item.
I want to use a list as buffer.

@miladr miladr changed the title predis-async predis-async with lists Dec 4, 2014
@miladr miladr closed this as completed Dec 4, 2014
@miladr miladr reopened this Dec 4, 2014
@Horki
Copy link

Horki commented May 20, 2016

@miladr so is it possible to add listener to a list in Redis?

@nrk
Copy link
Owner

nrk commented May 20, 2016

It's even in the examples, see list_blocking_pop.php and BLPOP.

@nrk nrk closed this as completed May 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants