QueueStatus.SUCCESS if an item was popped,
QueueStatus.EMPTY if the queue is empty, QueueStatus.CLOSED if the queue is closed and empty.
QueueStatus tryPop(out WorkItem item) @trustedTry to pop a work item without blocking.
item | Output parameter to store the popped item. |
QueueStatus.SUCCESS if an item was popped,
QueueStatus.EMPTY if the queue is empty, QueueStatus.CLOSED if the queue is closed and empty.