parentPort

    Process: Utility

    The object emits the following events:

    • messageEvent Object
      • MessagePortMain[]

    Emitted when the process receives a message. Messages received on this port will be queued up until a handler is registered for this event.

    Methods

    parentPort.postMessage(message)

    • message any