(self, wait_length)
Wait until queue is shorter than or equal to given length.
Wait until queue is shorter than or equal to given length.
Wait until queue is shorter than or equal to given length .
def _wait(self, wait_length):
        """Wait until queue is shorter than or equal to given length."""
        # top of queue is the currently playing tone or gap
        while max(len(queue) for queue in self._voice_queue) > wait_length:
            self._queues.wait()
def _wait ( self , wait_length ) : # top of queue is the currently playing tone or gap while max ( len ( queue ) for queue in self . _voice_queue ) > wait_length : self . _queues . wait ( )