Skip to main content
WorkerOptions.name - worker_threads - Node documentation
property WorkerOptions.name

Usage in Deno

import { type WorkerOptions } from "node:worker_threads";

An optional name to be appended to the worker title for debuggin/identification purposes, making the final title as [worker ${id}] ${name}.

Type

string | undefined