Improve benchmarks: add IO intensive task workload, add task size option, integrate...
[poolifier.git] / examples / typescript / pool.ts
index 96b861c44bf2127f1d9d55c521cfb4e244590dc7..8b29e3becaf7d73b3f15c35afc8b4b8c2834deb4 100644 (file)
@@ -1,6 +1,6 @@
 import { join } from 'path'
 import { DynamicThreadPool, FixedThreadPool } from 'poolifier'
-import { MyData, MyResponse } from './worker'
+import type { MyData, MyResponse } from './worker'
 
 export const fixedPool = new FixedThreadPool<MyData, Promise<MyResponse>>(
   8,