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.8/lib/core/process.ts";

Constructors

new
Process(pup: Pup, config: ProcessConfiguration)

Properties

private
blocked: boolean
private
optional
code: number
private
optional
exited: Date
private
optional
job: Cron
private
optional
pendingRestartReason: string
private
optional
pid: number
private
restarts: number
private
optional
runner: Runner
private
setupCron: () => 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
readonly
config: ProcessConfiguration
init: () => unknown
isPendingRestart: () => unknown
readonly
pup: Pup
restart: (reason: string) => unknown
start: (reason?: string, restart?: boolean) => unknown
stop: (reason: string) => boolean
unblock: (reason: string) => unknown