Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/cluster.ts>Worker

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
class Worker
import { Worker } from "https://deno.land/std@0.160.0/node/cluster.ts";

A Worker object contains all public information and method about a worker. In the primary it can be obtained using cluster.workers. In a worker it can be obtained using cluster.worker.

Constructors

new
Worker()