Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
-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'),
"lint:standard": "prettier-standard --format | standard --fix",
"ts-standard:verbose": "npx ts-standard --verbose",
"lint:ts-standard": "ts-standard --fix",
- "lint-and-format": "npm run lint:standard && npm run lint:ts-standard && npm run import-sort"
+ "lint-and-format": "npm run lint:standard; npm run lint:ts-standard; npm run import-sort"
},
"repository": {
"type": "git",