cluster.fork([env])
env<Object> 要添加到工作进程环境的键/值对。- 返回值: <cluster.Worker>
衍生新的工作进程。
【Spawn a new worker process.】
这只能从主进程调用。
【This can only be called from the primary process.】
env <Object> 要添加到工作进程环境的键/值对。衍生新的工作进程。
【Spawn a new worker process.】
这只能从主进程调用。
【This can only be called from the primary process.】