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

Constructors

new
Process(pup: Pup, config: ProcessConfiguration)

Properties

private
blocked: boolean
private
optional
code: number
private
readonly
config: ProcessConfiguration
private
optional
exited: Date
private
optional
pendingRestartReason: string
private
optional
pid: number
private
readonly
pup: Pup
private
restarts: number
private
optional
runner: Runner
private
setupCron: () => unknown
private
setupWatch: (paths: string[]) => unknown
private
optional
signal: number
private
optional
started: Date
private
status: ProcessStatus
private
updated: Date
block: () => unknown
init: () => unknown
isPendingRestart: () => unknown
restart: (reason: string) => unknown
start: (reason?: string, restart?: boolean) => unknown
stop: (reason: string) => boolean
unblock: () => unknown