MCPcopy Index your code
hub / github.com/Syncplay/syncplay / sendState

Method sendState

syncplay/server.py:82–87  ·  view source on GitHub ↗
(self, watcher, doSeek=False, forcedUpdate=False)

Source from the content-addressed store, hash-verified

80 return SyncServerProtocol(self)
81
82 def sendState(self, watcher, doSeek=False, forcedUpdate=False):
83 room = watcher.getRoom()
84 if room:
85 paused, position = room.isPaused(), room.getPosition()
86 setBy = room.getSetBy()
87 watcher.sendState(position, paused, doSeek, setBy, forcedUpdate)
88
89 def getFeatures(self):
90 features = dict()

Callers

nothing calls this directly

Calls 5

getSetByMethod · 0.80
getRoomMethod · 0.45
isPausedMethod · 0.45
getPositionMethod · 0.45
sendStateMethod · 0.45

Tested by

no test coverage detected