Attempts to consume all elements currently in the queue.
This function will block if no elements are available. Once at least one
element is available, the contents of dst will be replaced with all
available elements.
If the empty property is or becomes true before data becomes
avaiable, dst will be left untouched and false is returned.
Attempts to consume all elements currently in the queue.
This function will block if no elements are available. Once at least one element is available, the contents of dst will be replaced with all available elements.
If the empty property is or becomes true before data becomes avaiable, dst will be left untouched and false is returned.