seomoz / qless

Queue / Pipeline Management
MIT License
294 stars 76 forks source link

Fix event notification example in README #252

Closed girasquid closed 8 years ago

girasquid commented 8 years ago

Hello! I noticed while working with Qless on a project that the code I had referenced in the README...wasn't actually getting any events. After digging into the example code I discovered that the README code sample was wrong (you need to call .listen); this PR updates the README code sample.

@dlecocq @proby

b4hand commented 8 years ago

My inspection of the code confirms your interpretation.