is there anything in the stdlib to take a BlockingQueue and for-loop over it in a blocking fashion? Like take() would do, blocking when the queue is empty?
y
Youssef Shoaib [MOD]
02/21/2022, 12:52 AM
AFAIK you could create a sequence out of it like so: