All asyncio
and websocket
documentation I have read states that packets must be sent using the await
(or yield from
) prefix syntax. I would like to be able to call a function to send, however, without such syntax. Is it possible to use such syntax?
Existing:
await websocket.send(message)
Desired:
websocket.send(message)