child_process.fork()

The node:child_process function that starts another Node.js process running a given script, with a built-in message channel to it.

In more detail

Parent and child exchange JavaScript values with send() and the message event. Each child is a full process with its own V8 heap, so it costs more memory than a worker thread.

Related terms

Taught in

References