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

Method usersInRoomCount

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

Source from the content-addressed store, hash-verified

1563 return readyCount
1564
1565 def usersInRoomCount(self):
1566 userCount = 1
1567 for user in self._users.values():
1568 if user.room == self.currentUser.room and user.isReadyWithFile():
1569 userCount += 1
1570 return userCount
1571
1572 def usersInRoomNotReady(self):
1573 notReady = []

Callers 2

autoplayConditionsMetMethod · 0.80

Calls 1

isReadyWithFileMethod · 0.45

Tested by

no test coverage detected