X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fwebsocket-server-pool%2Fws-worker_threads%2Fsrc%2Fpool.ts;h=ac8b9c8657049774d9cccba0bf2173e1b6fe07d8;hb=e1670d1854cf104e9c73e00f5b05b67b5dd655b3;hp=45d458d53f8993a8baf8697e8709abd64b679849;hpb=ded253e27e59ae936fe91d789d8454b7eb11dd6a;p=poolifier.git diff --git a/examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts b/examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts index 45d458d5..ac8b9c86 100644 --- a/examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts +++ b/examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts @@ -3,11 +3,7 @@ import { fileURLToPath } from 'node:url' import { availableParallelism, DynamicThreadPool } from 'poolifier' -import { - type DataPayload, - type WorkerData, - type WorkerResponse -} from './types.js' +import type { DataPayload, WorkerData, WorkerResponse } from './types.js' const workerFile = join( dirname(fileURLToPath(import.meta.url)),