Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
const
{ parentPort, workerData } = require(
"worker_threads"
);
2
const
{ spawn } = require(
"child_process"
);
3
new
Promise((res) => {
4
const
{ path, args, options, debug } = workerData;
Callers
nothing calls this directly
Calls
2
on
Method · 0.80
postMessage
Method · 0.80
Tested by
no test coverage detected