repositories
/
poolifier.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
build(deps-dev): apply updates
[poolifier.git]
/
tests
/
worker-files
/
thread
/
emptyWorker.js
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
1
'use strict'
2
const { ThreadWorker, KillBehaviors } = require('../../../lib/index')
3
4
function test () {}
5
6
module.exports = new ThreadWorker(test, {
7
maxInactiveTime: 500,
8
killBehavior: KillBehaviors.HARD
9
})