Commit 065d7e2a authored by Chunchi Che's avatar Chunchi Che

update stream.ts

parent ff57d4f6
Pipeline #22112 passed with stages
in 15 minutes and 47 seconds
......@@ -56,8 +56,7 @@ export class WebSocketStream {
// websocket not closed, wait some time, and then handle next message from server
await sleep(useConfig().streamInterval);
return reader.read().then(process);
await reader.read().then(process);
}
}
......@@ -68,7 +67,7 @@ export class WebSocketStream {
}
// read some more, and call process function again
return reader.read().then(process);
await reader.read().then(process);
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment