X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fpool.ts;h=de49c93ad6f8c73bc3cfaa680a78134cdd8daa56;hb=2ad9905df3e945c219006b32a48962b4af04d2cc;hp=002bbbe2fdf7a4d19f5158d45e1b41620e7f2f20;hpb=4c0fcebf5632d2b216cdcb090fa7aac7ced9a04a;p=poolifier.git diff --git a/examples/typescript/pool.ts b/examples/typescript/pool.ts index 002bbbe2..de49c93a 100644 --- a/examples/typescript/pool.ts +++ b/examples/typescript/pool.ts @@ -1,11 +1,11 @@ import { dirname, extname, join } from 'node:path' import { fileURLToPath } from 'node:url' +import type { MyData, MyResponse } from './worker' import { DynamicThreadPool, FixedThreadPool, availableParallelism } from 'poolifier' -import type { MyData, MyResponse } from './worker' const workerFile = join( dirname(fileURLToPath(import.meta.url)),