import { PluginApi } from "https://deno.land/x/pup@1.0.0-beta.36/mod.ts";
Exposes selected features of pup to Plugins
Constructors
new
PluginApi(pup: Pup)Methods
allProcessStates(): PluginProcessData[]
applicationState(): PluginApplicationState
block(id: string, reason: string)
log()
severity: ,
| "log"
| "error"
| "info"
| "warn"
plugin: string,
message: string,
restart(id: string, reason: string)
start(id: string, reason: string)
stop(id: string, reason: string)
terminate(forceQuitMs: number)
unblock(id: string, reason: string)