waitForEmpty

open fun waitForEmpty()

Wait for the queue to become empty