process.channel
- 类型: <Object>
如果 Node.js 进程是通过 IPC 通道启动的(参见 子进程 文档),process.channel 属性是对该 IPC 通道的引用。如果不存在 IPC 通道,则该属性为 undefined。
【If the Node.js process was spawned with an IPC channel (see the
Child Process documentation), the process.channel
property is a reference to the IPC channel. If no IPC channel exists, this
property is undefined.】