(self)
Give the ChromeCast time to start the app, then refresh app.
Give the ChromeCast time to start the app, then refresh app.
Give the ChromeCast time to start the app then refresh app .
def _delayed_refresh(self):
        """ Give the ChromeCast time to start the app, then refresh app. """
        with self._refresh_lock:
            if self._refresh_timer:
                self._refresh_timer.cancel()

            self._refresh_timer = threading.Timer(5, self.refresh)
            self._refresh_timer.start()
def _delayed_refresh ( self ) : with self . _refresh_lock : if self . _refresh_timer : self . _refresh_timer . cancel ( ) self . _refresh_timer = threading . Timer ( 5 , self . refresh ) self . _refresh_timer . start ( )