src/streamlink/stream/segmented.py
def wait(self, time):
        """Pauses the thread for a specified time.

        Returns False if interrupted by another thread and True if the
        time runs out normally.
        """
        self._wait = Event()
        return not self._wait.wait(time)
def wait(self, time):
        self._wait = Event()
        return not self._wait.wait(time)
def wait ( self , time ) : self . _wait = Event ( ) return not self . _wait . wait ( time )
Pauses the thread for a specified time.

        Returns False if interrupted by another thread and True if the
        time runs out normally.
Pauses the thread for a specified time .