MCPcopy
hub / github.com/CodebuffAI/codebuff / flush

Method flush

common/src/util/stop-sequence.ts:53–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 }
52
53 public flush(): string {
54 if (this.finished) {
55 return ''
56 }
57 const b = this.buffer
58 this.buffer = ''
59 return b
60 }
61}

Callers 5

promptAiSdkStreamFunction · 0.95
flushAnalyticsFunction · 0.45
flushAnalyticsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected