UNPKG
pm
Version:
latest (2.2.6)
next (10.0.0-alpha.5)
10.0.0-alpha.5
10.0.0-alpha.4
2.2.6
2.2.5
2.2.4
2.2.3
2.2.2
2.2.1
2.2.0-beta
2.2.0-alpha
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
2.0.0-alpha
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.9.1
0.9.0
Process Manager for Node.js, branched from node-cluster.
github.com/aleafs/pm
aleafs/pm
pm
/
demo
/
worker
/
serial.js
6 lines
(5 loc)
•
214 B
JavaScript
View Raw
1
2
3
4
5
6
/* vim: set expandtab tabstop=2 shiftwidth=2 foldmethod=marker: */
var
worker =
require
(__dirname +
'/../../'
).
createWorker
().
serialStart
(
function
(
done
) {
console
.
log
(
'child start!'
);
done
(); },
100
).
ready
();