nrk/predis-async

predis-async with lists

miladr opened this issue · 2 comments

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.

Horki commented

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

nrk commented

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