10 lines
149 B
JavaScript
Raw Permalink Normal View History

2025-06-21 23:30:33 +03:00
'use strict'
const { parentPort } = require('worker_threads')
parentPort.postMessage({
code: 'CUSTOM-WORKER-CALLED'
})
require('../lib/worker')