In reply to dave_59:
Hi, Dave thanks for your reply. I am using this function in the scoreboard, when all objections have been dropped, there are still some items in the queue. I am using this function to get those items out.
The Question which I really want to ask this forum. When this method is called, a task has been called inside it like I have done, where I am waiting for the queue to pop all its item. Will this happen or not?