WorkQueue.close
void close() @trustedClose the queue, preventing further pushes.
Pending consumers will be woken up and their pops will fail with QueueErrorReason.CLOSED once the queue is drained.
void close() @trustedClose the queue, preventing further pushes.
Pending consumers will be woken up and their pops will fail with QueueErrorReason.CLOSED once the queue is drained.