Files
boc/services/frilans-payout/node_modules/thread-stream/test/custom-worker.js
T

10 lines
149 B
JavaScript
Raw Normal View History

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