Computer scienceBackendNode.jsCore ConceptsInternal modulesOther modules

Child processes

Child process communication

Report a typo

Sort the following steps to create and communicate with a child process in the correct order.

Put the items in the correct order
Create a child process using 'fork'.
Send a message from the parent to the child.
Listen for a message in the parent process.
Listen for a message in the child process.

Create a free account to access the full topic