worker.isDead()


当工作进程被终止时(包括自动退出或被发送信号),这个方法返回true ,否则返回false

This function returns true if the worker's process has terminated (either because of exiting or being signaled). Otherwise, it returns false.