repositories
/
poolifier.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
docs: refine changelog entries
[poolifier.git]
/
tests
/
worker-files
/
thread
/
emptyWorker.mjs
1
import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
2
3
/**
4
*
5
*/
6
function test () {}
7
8
export default new ThreadWorker(test, {
9
killBehavior: KillBehaviors.HARD,
10
maxInactiveTime: 500
11
})