MCPcopy
hub / github.com/buildbot/buildbot / flush

Method flush

www/data-module/src/data/WebSocketClient.ts:89–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 flush() {
90 // send all the data waiting in the queue
91 let data;
92 while ((data = this.queue.pop())) {
93 this.socket.send(data);
94 }
95 }
96
97 generateId() {
98 this.lastId = this.lastId + 1;

Callers 1

WebSocketClientClass · 0.95

Calls 2

popMethod · 0.80
sendMethod · 0.45

Tested by

no test coverage detected