MCPcopy
hub / github.com/Unitech/pm2 / rmProcs

Function rmProcs

examples/sourcemap-auto-resolve/API.js:1530–1537  ·  view source on GitHub ↗
(procs, value, cb)

Source from the content-addressed store, hash-verified

1528 }
1529
1530 function rmProcs(procs, value, cb) {
1531 var i = 0;
1532
1533 (function ex(procs, number) {
1534 if (number++ === 0) return cb();
1535 that._operate('deleteProcessId', procs[i++].pm2_env.pm_id, ex.bind(this, procs, number));
1536 })(procs, number);
1537 }
1538
1539 function end() {
1540 return cb ? cb(null, {success:true}) : that.speedList();

Callers 3

scaleMethod · 0.85
scaleMethod · 0.85
API.jsFile · 0.85

Calls 3

cbFunction · 0.85
_operateMethod · 0.80
bindMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…