June 2014
Intermediate to advanced
696 pages
38h 52m
English
The child_process module provides a new class called ChildProcess that acts as a representation of the child processes that can be accessed from the parent. This allows you to control, end, and send messages to the child processes from the parent process that started them.
Also, the process module is a ChildProcess object. This means that when you access process from the parent module, it is the parent ChildProcess object, but when you access process from the child process, it is the ChildProcess object.
In this section you will learn more about the ChildProcess object so that you will be able to leverage it in subsequent sections to implement multiprocess Node.js applications.
Table 9.4 lists the events ...
Read now
Unlock full access