Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

feature request: read from a union-queue #91

Open
robey opened this issue Mar 16, 2012 · 3 comments
Open

feature request: read from a union-queue #91

robey opened this issue Mar 16, 2012 · 3 comments

Comments

@robey
Copy link
Contributor

robey commented Mar 16, 2012

(via stephan and jonathan)

it would be nice to be able to read from the "union" of 2 or more queues. something like get jobs1|jobs2

trivial to make this work for the no-timeout (instant) case. for the timeout case (get jobs1|jobs2/t=1000), we'll need to track the open reads, and when an item comes in on one of the queues, cancel the read on the other queues. could be tricky.

@s17t
Copy link

s17t commented Mar 17, 2012

+1 for this.

@vogelito
Copy link

vogelito commented Apr 9, 2012

+1 this would be great!

@etucker
Copy link

etucker commented Nov 9, 2012

+1 This would be quite handy.

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

No branches or pull requests

4 participants