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/fastify-worker_thr...
[poolifier.git]
/
tests
/
worker-files
/
thread
/
emptyWorker.mjs
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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
})