forked from retoor/snek
Unbuffered.
This commit is contained in:
@@ -148,7 +148,7 @@ class RPCView(BaseView):
|
||||
#print("Subscribed for: ", subscription["label"],flush=True)
|
||||
rpc = RPCView.RPCApi(self,ws)
|
||||
async for msg in ws:
|
||||
print(msg)
|
||||
print(msg,flush=True)
|
||||
if msg.type == web.WSMsgType.TEXT:
|
||||
try:
|
||||
await rpc(msg.json())
|
||||
|
||||
Reference in New Issue
Block a user