import { PluginApi } from "https://deno.land/x/pup@1.0.0-rc.9/lib/core/plugin.ts";
Exposes selected features of pup to Plugins
Constructors
new
PluginApi(pup: Pup)Methods
block(id: string, reason: string)
getLogs(): Promise<LogEventData[]>
processId?: string,
startTimeStamp?: number,
endTimeStamp?: number,
nRows?: number,
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)