X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-server-pool%2Fexpress-worker_threads%2Fsrc%2Fpool.ts;h=0f6a7accb63ce881e49a3a06b34647297fd6a064;hb=80115618ce24038f504dc447dfb7c4fbd9c5d698;hp=6ae002922d47c6da062cbd9442391c33b4f72eca;hpb=3b3115396965edad0cf3fefc4f9081977310da34;p=poolifier.git diff --git a/examples/typescript/http-server-pool/express-worker_threads/src/pool.ts b/examples/typescript/http-server-pool/express-worker_threads/src/pool.ts index 6ae00292..0f6a7acc 100644 --- a/examples/typescript/http-server-pool/express-worker_threads/src/pool.ts +++ b/examples/typescript/http-server-pool/express-worker_threads/src/pool.ts @@ -1,11 +1,9 @@ import { dirname, extname, join } from 'node:path' import { fileURLToPath } from 'node:url' -import { DynamicThreadPool, availableParallelism } from 'poolifier' -import { - type BodyPayload, - type WorkerData, - type WorkerResponse -} from './types.js' + +import { availableParallelism, DynamicThreadPool } from 'poolifier' + +import type { BodyPayload, WorkerData, WorkerResponse } from './types.js' const workerFile = join( dirname(fileURLToPath(import.meta.url)),