Pname
Bun

property

worker_threads.WorkerOptions.name

name?: string

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