import { Pup } from "https://deno.land/x/pup@1.0.0-beta.25/mod.ts";
Properties
Watchdog function that manages process lifecycle events like auto-start, restart, and timeouts.
configuration: Configuration
processes: (Process | Cluster)[]
Methods
private
handleInstruction(message: IpcValidatedMessage)private
pluginHook(signal: string, args: unknown): booleanprivate
processIpcMessage(message: IpcValidatedMessage)private
receiveData()allProcesses(): Process[]
block(id: string, requestor: string): boolean
restart(id: string, requestor: string): boolean
start(id: string, requestor: string): boolean
stop(id: string, requestor: string): boolean
terminate(forceQuitMs: number)
unblock(id: string, requestor: string): boolean