MCPcopy Create free account
hub / github.com/apache/cloudstack / flush

Method flush

systemvm/agent/noVNC/core/websock.js:217–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

215 }
216
217 flush() {
218 if (this._sQlen > 0 && this.readyState === 'open') {
219 this._websocket.send(new Uint8Array(this._sQ.buffer, 0, this._sQlen));
220 this._sQlen = 0;
221 }
222 }
223
224 _sQensureSpace(bytes) {
225 if (this._sQbufferSize - this._sQlen < bytes) {

Callers 1

_sQensureSpaceMethod · 0.95

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected