Send a message to the worker that is received via require('node:worker_threads').parentPort.on('message')
. See port.postMessage()
for more details.
method
worker_threads.Worker.postMessage
value: any,
): void;
method
Send a message to the worker that is received via require('node:worker_threads').parentPort.on('message')
. See port.postMessage()
for more details.