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

Method _resetStateTimer

syncplay/server.py:849–853  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

847 self._server.sendState(self, doSeek, forcedUpdate)
848
849 def _resetStateTimer(self):
850 if self._sendStateTimer:
851 if self._sendStateTimer.running:
852 self._sendStateTimer.stop()
853 self._sendStateTimer.start(constants.SERVER_STATE_INTERVAL)
854
855 def _deactivateStateTimer(self):
856 if self._sendStateTimer and self._sendStateTimer.running:

Callers 1

setRoomMethod · 0.95

Calls 2

stopMethod · 0.80
startMethod · 0.80

Tested by

no test coverage detected