- add subscription via MessageDispatcher

This commit is contained in:
jens
2020-11-25 08:41:43 +01:00
parent 89922a4984
commit 4cde362642
6 changed files with 27 additions and 29 deletions
-1
View File
@@ -21,7 +21,6 @@ class WsServerMultiUser(WsServer):
self.listener = listener
self.USERS = UserSet()
self.global_state = {}
self.listener.on_connect(self.loop)
async def notify_state(self, data):
if self.USERS: # asyncio.wait doesn't accept an empty list