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

Method process

src/ProcessFork.ts:126–136  ·  view source on GitHub ↗
(chunk: Buffer)

Source from the content-addressed store, hash-verified

124 }
125
126 process(chunk: Buffer): Promise<ProcessLineResult[]> {
127 return new Promise((resolve, reject) => {
128 // console.log("chunk", chunk.length);
129 this.next = resolve;
130 // this.appendReadBuf(chunk);
131 this.childProcess.stdin?.write(chunk, () => {
132 // console.log("chunk callback");
133 this.flushResult();
134 });
135 });
136 }
137}
138
139export interface Message {

Callers 6

browser.jsFile · 0.45
csvtojson.min.jsFile · 0.45
ProcessorLocal.jsFile · 0.45
Converter.jsFile · 0.45
_transformMethod · 0.45

Calls 1

flushResultMethod · 0.95

Tested by

no test coverage detected