MCPcopy Index your code
hub / github.com/Unitech/pm2 / rmProcs

Method rmProcs

lib/API.js:1806–1813  ·  view source on GitHub ↗
(procs, value, cb)

Source from the content-addressed store, hash-verified

1804 }
1805
1806 function rmProcs(procs, value, cb) {
1807 var i = 0;
1808
1809 (function ex(procs, number) {
1810 if (number++ === 0) return cb();
1811 that._operate('deleteProcessId', procs[i++].pm2_env.pm_id, ex.bind(this, procs, number));
1812 })(procs, number);
1813 }
1814
1815 function end() {
1816 return cb ? cb(null, {success:true}) : that.speedList();

Callers

nothing calls this directly

Calls 3

cbFunction · 0.85
_operateMethod · 0.80
bindMethod · 0.65

Tested by

no test coverage detected