WorkerOptions.name - 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