kestrel icon indicating copy to clipboard operation
kestrel copied to clipboard

feature request: read from a union-queue

Open robey opened this issue 12 years ago • 3 comments

(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.

robey avatar Mar 16 '12 22:03 robey

+1 for this.

s17t avatar Mar 17 '12 09:03 s17t

+1 this would be great!

vogelito avatar Apr 09 '12 17:04 vogelito

+1 This would be quite handy.

etucker avatar Nov 09 '12 23:11 etucker