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

x/pup/lib/core/cluster.ts>Cluster

Universal process manager built in Deno
Go to Latest
class Cluster
extends Process
import { Cluster } from "https://deno.land/x/pup@1.0.0-beta.36/lib/core/cluster.ts";

Constructors

new
Cluster(pup: Pup, config: ProcessConfiguration)

Properties

block: (reason: string) => unknown
cleanup: () => unknown
isCluster: () => boolean
loadBalancerWorker: Worker | null
processes: Process[]
restart: (reason: string) => unknown
setInstances: (nInstances: number) => unknown
start: (reason?: string, restart?: boolean) => unknown
stop: (reason: string) => boolean
unblock: (reason: string) => unknown