waitForEmpty

open fun waitForEmpty(timeoutMillis: Long): Long