Files
LWLT-AI/node_modules/thread-stream/test/custom-worker.js
2026-07-13 19:57:46 +08:00

10 lines
149 B
JavaScript

'use strict'
const { parentPort } = require('worker_threads')
parentPort.postMessage({
code: 'CUSTOM-WORKER-CALLED'
})
require('../lib/worker')