Fully working end-to-end locally with validation

This commit is contained in:
Cian Hughes
2023-10-26 17:29:42 +01:00
parent 2a8d3c21fe
commit c14c0742b0
13 changed files with 333 additions and 111 deletions

11
client_stdout.py Normal file
View File

@@ -0,0 +1,11 @@
import asyncio
import sys
async def stdout_pipe(client):
events = client.events(decode=True)
while True:
for event in events:
sys.stdout.write(event)
sys.stdout.flush()
await asyncio.sleep(0.1)