MCPcopy
hub / github.com/codeaashu/claude-code / flush

Method flush

web/lib/performance/streaming-optimizer.ts:38–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 flush(): void {
39 if (!this.buffer) return;
40 const text = this.buffer;
41 this.buffer = "";
42 this.lastFlushTime = performance.now();
43 this.onFlush(text);
44 }
45
46 destroy(): void {
47 if (this.rafId !== null) {

Callers 2

pushMethod · 0.95
destroyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected