![]() ![]() ![]() ![]() The two processes can send messages to each other via send(), and receive those messages via 'message' events.įor example, if your current main module is named server.js, then you could add a temporary start.js module (which will be the new lambda function) in the same directory that looks something like this: // Add NODE_DEBUG to this process's environment variables, which are passed by default to Child_process.fork() allows one module to spawn a new node environment with specified environment variables. ![]()
0 Comments
Leave a Reply. |