MCPcopy Index your code
hub / github.com/srcbookdev/srcbook / flush

Method flush

packages/web/src/clients/websocket/channel.ts:137–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 }
136
137 private flush() {
138 while (this.queue.length > 0) {
139 const message = this.queue.shift()!;
140 this.push(message.event, message.payload);
141 }
142 }
143}

Callers 1

Calls 1

pushMethod · 0.95

Tested by

no test coverage detected