-const DynamicThreadPool = require('./lib/dynamic')
+const DynamicThreadPool = require('../lib/dynamic')
let resolved = 0
let maxReached = 0
const pool = new DynamicThreadPool(100, 200, './yourWorker.js', { errorHandler: (e) => console.error(e), onlineHandler: () => console.log('worker is online') })
-const FixedThreadPool = require('./lib/fixed')
+const FixedThreadPool = require('../lib/fixed')
let resolved = 0
const pool = new FixedThreadPool(15,
'./yourWorker.js',
'use strict'
-const { ThreadWorker } = require('./lib/workers')
+const { ThreadWorker } = require('../lib/workers')
class MyWorker extends ThreadWorker {
constructor () {