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

Method readyUserCount

syncplay/client.py:1556–1563  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1554 return True
1555
1556 def readyUserCount(self):
1557 readyCount = 0
1558 if self.currentUser.isReady():
1559 readyCount += 1
1560 for user in self._users.values():
1561 if user.room == self.currentUser.room and user.isReadyWithFile():
1562 readyCount += 1
1563 return readyCount
1564
1565 def usersInRoomCount(self):
1566 userCount = 1

Callers 2

autoplayCountdownMethod · 0.80

Calls 2

isReadyMethod · 0.45
isReadyWithFileMethod · 0.45

Tested by

no test coverage detected