+import { join } from 'path'
import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
import { MyData, MyResponse } from './worker'
-import { join } from 'path'
-
export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
8,
join(__dirname, 'worker.js'),