MCPcopy Create free account
hub / github.com/desaroger/pm2-hooks / constructor

Method constructor

src/Pm2Module.js:12–16  ·  view source on GitHub ↗
(processes = [], options = {})

Source from the content-addressed store, hash-verified

10class Pm2Module {
11
12 constructor(processes = [], options = {}) {
13 options.routes = Pm2Module._parseProcesses(processes);
14 this.routes = options.routes;
15 this.webhookServer = new WebhookServer(options);
16 }
17
18 start() {
19 return this.webhookServer.start()

Callers

nothing calls this directly

Calls 1

_parseProcessesMethod · 0.80

Tested by

no test coverage detected