This commit is contained in:
shenjack 2023-10-15 01:15:14 +08:00
parent 88c46f754f
commit c1966e6f55
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -271,10 +271,8 @@ def catch_all(event, data):
async def main(): async def main():
async with asyncio.TaskGroup() as task_group: await sio.connect(HOST)
await sio.connect(HOST) await sio.wait()
# task1 = task_group.create_task(sio.wait())
await sio.wait()
# await sio.emit('requireAuth', ('', {'version': '', 'protocolVersion': ''})) # await sio.emit('requireAuth', ('', {'version': '', 'protocolVersion': ''}))
# await asyncio.sleep(2) # await asyncio.sleep(2)