kestrel
kestrel copied to clipboard
feature request: read from a union-queue
(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.
+1 for this.
+1 this would be great!
+1 This would be quite handy.