Skip to main content
Module

x/pup/mod.ts>PluginImplementation

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

Every plugin should extend this Class

There are two types of signals

hooks, through the hook-function log LogEvent

Events, through this.pup.events.on(eventName, eventParams)

log LogEvent init Undefined watchdog Undefined process_status_changed ProcessStateChangedEvent process_scheduled ProcessScheduledEvent process_watch ProcessWatchEvent terminating Number (ms) ipc IpcValidatedMessage

Constructors

new
PluginImplementation(_pup: PluginApi, _config: PluginConfiguration)

Properties

meta: { name: string; version: string; api: string; repository: string; }

Methods

hook(_signal: string, _parameters: unknown): boolean