Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
WebSocketClient
Class · 0.95
Calls
2
pop
Method · 0.80
send
Method · 0.45
Tested by
no test coverage detected