process.channel
如果 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
.