refactor: cleanup eslint configuration
[poolifier.git] / examples / typescript / pool.ts
index 144d55002bd048ea865365cb6696cdb887745230..c55c4e96557dc8fcb400847745b0ac2c5ee014c7 100644 (file)
@@ -1,12 +1,14 @@
 import { dirname, extname, join } from 'node:path'
 import { fileURLToPath } from 'node:url'
-import type { MyData, MyResponse } from './worker.js'
+
 import {
+  availableParallelism,
   DynamicThreadPool,
-  FixedThreadPool,
-  availableParallelism
+  FixedThreadPool
 } from 'poolifier'
 
+import type { MyData, MyResponse } from './worker.js'
+
 const workerFile = join(
   dirname(fileURLToPath(import.meta.url)),
   `worker${extname(fileURLToPath(import.meta.url))}`