repositories
/
poolifier.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-hybrid...
[poolifier.git]
/
tests
/
worker-files
/
cluster
/
echoWorker.cjs
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
'use strict'
2
const { ClusterWorker, KillBehaviors } = require('../../../lib/index.cjs')
3
4
function echo (data) {
5
return data
6
}
7
8
module.exports = new ClusterWorker(echo, {
9
killBehavior: KillBehaviors.HARD
10
})