process.send()

The method that sends a JavaScript value over the IPC channel to the other side, which receives it as a message event.

In more detail

Values are serialized on the way, so functions and class instances do not survive the trip. Only processes started with an IPC channel, such as by fork(), have it.

Related terms

Taught in

References