We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c93c59 commit 8ea5e81Copy full SHA for 8ea5e81
examples/client/async/latency_client.py
@@ -21,7 +21,6 @@ async def connect():
21
22
@sio.event
23
async def pong_from_server():
24
- global start_timer
25
latency = time.time() - start_timer
26
print(f'latency is {latency * 1000:.2f} ms')
27
await sio.sleep(1)
examples/client/sync/latency_client.py
@@ -19,7 +19,6 @@ def connect():
19
20
def pong_from_server():
sio.sleep(1)
0 commit comments