MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / ocr_thread.js

File ocr_thread.js

external_resource/ocr_thread.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const { parentPort, workerData } = require("worker_threads");
2const { spawn } = require("child_process");
3new Promise((res) => {
4 const { path, args, options, debug } = workerData;

Callers

nothing calls this directly

Calls 2

onMethod · 0.80
postMessageMethod · 0.80

Tested by

no test coverage detected