GristServerSocket: add comment for success callback case

pull/859/head
Jonathan Perret 3 months ago
parent ea08b4908f
commit 1961b2c3ee

@ -83,6 +83,7 @@ export class GristServerSocketEIO extends GristServerSocket {
}
this._socket.send(data, {}, () => {
if (cb && this._messageCallbacks.delete(msgNum)) {
// send was successful: pass no Error to callback
cb();
}
});

Loading…
Cancel
Save