Module

std/node/cluster.ts>Worker

Deno standard library
Go to Latest
class Worker
import { Worker } from "https://dotland.deno.dev/std@0.177.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()