Skip to main content
Module

x/pup/mod.ts>PluginApi

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

Exposes selected features of pup to Plugins

Constructors

new
PluginApi(pup: Pup)

Properties

private
_pup: Pup
events: EventEmitter
paths: PluginPaths

Methods

allProcessStatees(): PluginProcessData[]
block(id: string, reason: string)
restart(id: string, reason: string)
start(id: string, reason: string)
stop(id: string, reason: string)
terminate(forceQuitMs: number)
unblock(id: string, reason: string)