X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=examples%2Ftypescript%2Fsmtp-client-pool%2Fsrc%2Fpool.ts;h=315bf4eab77274267d4f7928973b9d8733e5ec28;hb=ded253e27e59ae936fe91d789d8454b7eb11dd6a;hp=2fc53c980b20b9f26590e3408382f88cd86ada62;hpb=0e8691794db51210b4bcc6af77d54326583a269a;p=poolifier.git diff --git a/examples/typescript/smtp-client-pool/src/pool.ts b/examples/typescript/smtp-client-pool/src/pool.ts index 2fc53c98..315bf4ea 100644 --- a/examples/typescript/smtp-client-pool/src/pool.ts +++ b/examples/typescript/smtp-client-pool/src/pool.ts @@ -1,7 +1,9 @@ -import { fileURLToPath } from 'node:url' import { dirname, extname, join } from 'node:path' -import { DynamicThreadPool, availableParallelism } from 'poolifier' +import { fileURLToPath } from 'node:url' + import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js' +import { availableParallelism, DynamicThreadPool } from 'poolifier' + import type { WorkerData } from './types.js' const workerFile = join(