Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-hybrid...
[poolifier.git] / tests / worker-files / thread / emptyWorker.mjs
CommitLineData
d35e5717 1import { KillBehaviors, ThreadWorker } from '../../../lib/index.cjs'
b2fd3f4a
JB
2
3/**
4 *
5 */
6function test () {}
7
8export default new ThreadWorker(test, {
9 killBehavior: KillBehaviors.HARD,
10 maxInactiveTime: 500
11})