Files
mmpSearch/node_modules/thread-stream/test/custom-worker.js
T
2025-10-26 16:43:01 -03:00

10 lines
149 B
JavaScript

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