change order of websocket packets onOpen
This commit is contained in:
parent
6ad79250e5
commit
214daa6382
|
@ -99,9 +99,9 @@ class SocketClient extends EventEmitter {
|
||||||
if (this.canvasId !== null) {
|
if (this.canvasId !== null) {
|
||||||
this.ws.send(RegisterCanvas.dehydrate(this.canvasId));
|
this.ws.send(RegisterCanvas.dehydrate(this.canvasId));
|
||||||
}
|
}
|
||||||
|
this.processMsgQueue();
|
||||||
console.log(`Register ${chunks.length} chunks`);
|
console.log(`Register ${chunks.length} chunks`);
|
||||||
this.ws.send(RegisterMultipleChunks.dehydrate(chunks));
|
this.ws.send(RegisterMultipleChunks.dehydrate(chunks));
|
||||||
this.processMsgQueue();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
setCanvas(canvasId) {
|
setCanvas(canvasId) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user