node_interop.worker library

Node.js "worker_threads" module bindings.

Use top-level worker object to access this module functionality.

Classes

MessageChannel
MessagePasser
An interface for the common message-passing methods between WorkerMessagePort and Worker.
ReceivedMessage
ResourceLimits
Worker
WorkerMessagePort
WorkerOptions
WorkerThreadsModule

Properties

worker WorkerThreadsModule
final

Functions

createMessageChannel() MessageChannel
Creates a MessageChannel using new MessageChanel().
createWorker(String filename, [WorkerOptions options]) Worker
Creates a Worker using `new Worker().