Skip to main content
Worker.prototype.stderr - worker_threads - Node documentation
property Worker.prototype.stderr

Usage in Deno

import { Worker } from "node:worker_threads";

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.

Type