MCPcopy
hub / github.com/ever-co/ever-demand / timeout

Function timeout

packages/core/src/pm2bootstrap.ts:25–26  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

23const runningApps = util.promisify(pm2.list.bind(pm2));
24const dump = util.promisify(pm2.dump.bind(pm2));
25const timeout = (ms: number) =>
26 new Promise((resolve) => setTimeout(resolve, ms));
27
28(async () => {
29 // Display logs in standard output

Callers 1

autoExitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected