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