postMessage
fun postMessage(value: Any?, transferList: ERROR CLASS: Symbol not found for ReadonlyArray<{node/workerThreads/Transferable=} kotlin/Any> = definedExternally)(source)
Send a message to the worker that is received via require('node:worker_threads').parentPort.on('message')
. See port.postMessage()
for more details.
Since
v10.5.0