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

x/pup/lib/core/process.ts>Process

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

Constructors

new
Process(pup: Pup, config: ProcessConfiguration)

Properties

private
blocked: boolean
private
optional
code: number
private
optional
cronJob: Cron
private
optional
cronTerminateJob: Cron
private
optional
exited: Date
private
optional
pendingRestartReason: string
private
optional
pid: number
private
restarts: number
private
optional
runner: Runner | WorkerRunner
private
setupCron: () => unknown
private
setupCronTerminate: () => unknown
private
setupWatch: (paths: string[]) => unknown
private
optional
signal: string
private
optional
started: Date
private
status: ProcessState
private
optional
telemetry: TelemetryData
private
updated: Date
block: (reason: string) => unknown
cleanup: () => unknown
readonly
config: ProcessConfiguration
isPendingRestart: () => unknown
readonly
pup: Pup
restart: (reason: string) => unknown
stop: (reason: string) => boolean
unblock: (reason: string) => unknown