This class is a queue that works asynchronously:
.put()
.next()
Dequeuing is done via async iteration. This method blocks asynchronously if the queue is empty.
Enqueuing. This method is non-blocking. It can be called as often as you want and will buffer if more is enqeued than dequeued.
This class is a queue that works asynchronously:
.put()
is manual and synchronous (non-blocking) and can be done multiple times..next()
. This operation blocks asynchronously until data is enqueued.