MCPcopy Create free account
hub / github.com/Keyang/node-csvtojson / flushResult

Method flushResult

src/ProcessFork.ts:94–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92
93 }
94 private flushResult() {
95 // console.log("flush result", this.resultBuf.length);
96 if (this.next) {
97 this.next(this.resultBuf);
98 }
99 this.resultBuf = [];
100 }
101 private appendBuf(data: string) {
102 const res = this.leftChunk + data;
103 const list = res.split("\n");

Callers 3

initWorkerMethod · 0.95
processMethod · 0.95
ProcessFork.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected