新增于: v0.8.0
每个新的工作进程都被赋予了自己唯一的 id,此 id 存储在 id
.
当工作进程存活时,这是在 cluster.workers
中索引它的键。
Added in: v0.8.0
Each new worker is given its own unique id, this id is stored in the
id
.
While a worker is alive, this is the key that indexes it in
cluster.workers
.