worker.stderr


这是一个可读流,它包含写入 process.stderr 的数据,这些数据来自工作线程。如果在 Worker 构造函数中未传递 stderr: true,则数据会被传输到父线程的 process.stderr 流。

【This is a readable stream which contains data written to process.stderr inside the worker thread. If stderr: true was not passed to the Worker constructor, then data is piped to the parent thread's process.stderr stream.】