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

Method constructor

src/ProcessFork.ts:33–39  ·  view source on GitHub ↗
(protected converter: Converter)

Source from the content-addressed store, hash-verified

31 private finalChunk: boolean = false;
32 private next?: (result: ProcessLineResult[]) => any;
33 constructor(protected converter: Converter) {
34 super(converter);
35 this.childProcess = require("child_process").spawn(process.execPath, [__dirname + "/../v2/worker.js"], {
36 stdio: ["pipe", "pipe", "pipe", "ipc"]
37 });
38 this.initWorker();
39 }
40 private prepareParam(param:CSVParseParam):any{
41 const clone:any=mergeParams(param);
42 if (clone.ignoreColumns){

Callers

nothing calls this directly

Calls 1

initWorkerMethod · 0.95

Tested by

no test coverage detected