MCPcopy Create free account
hub / github.com/Syncplay/syncplay / __hasPauseChanged

Method __hasPauseChanged

syncplay/server.py:866–869  ·  view source on GitHub ↗
(self, paused)

Source from the content-addressed store, hash-verified

864 self._connector.drop()
865
866 def __hasPauseChanged(self, paused):
867 if paused is None:
868 return False
869 return self._room.isPaused() and not paused or not self._room.isPaused() and paused
870
871 def _updatePositionByAge(self, messageAge, paused, position):
872 if not paused:

Callers 1

updateStateMethod · 0.95

Calls 1

isPausedMethod · 0.45

Tested by

no test coverage detected