Skip to main content
Module

std/node/cluster.ts>Worker

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