X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fhttp-client-pool%2Fsrc%2Fmain.ts;h=722de1e6dc200bbc535f1dfce8db4516d6c95d58;hb=4eaf790c39a91516b90dd94e8469d7978d59960a;hp=8217434fddd4af8cf4b3c6b3a2722c373bda2494;hpb=9aef1431cbefd8bf1fc48654c94cc464243e0113;p=poolifier.git diff --git a/examples/typescript/http-client-pool/src/main.ts b/examples/typescript/http-client-pool/src/main.ts index 8217434f..722de1e6 100644 --- a/examples/typescript/http-client-pool/src/main.ts +++ b/examples/typescript/http-client-pool/src/main.ts @@ -1,6 +1,7 @@ import { availableParallelism } from 'poolifier' + import { httpClientPool } from './pool.js' -import { type WorkerResponse } from './types.js' +import type { WorkerResponse } from './types.js' const parallelism = availableParallelism() * 2 const requestUrl = 'http://localhost:8080/'