repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_thr...
[poolifier.git]
/
examples
/
typescript
/
smtp-client-pool
/
src
/
worker.ts
diff --git
a/examples/typescript/smtp-client-pool/src/worker.ts
b/examples/typescript/smtp-client-pool/src/worker.ts
index 01e49b0948a962ed93d29b110b3e0a3fe18b9c3a..622886351e71d9e2d234548fc2009ad3639d6aa4 100644
(file)
--- a/
examples/typescript/smtp-client-pool/src/worker.ts
+++ b/
examples/typescript/smtp-client-pool/src/worker.ts
@@
-1,6
+1,7
@@
-import { ThreadWorker } from 'poolifier'
import { createTransport } from 'nodemailer'
import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js'
import { createTransport } from 'nodemailer'
import type SMTPTransport from 'nodemailer/lib/smtp-transport/index.js'
+import { ThreadWorker } from 'poolifier'
+
import type { WorkerData } from './types.js'
class SmtpClientWorker extends ThreadWorker<
import type { WorkerData } from './types.js'
class SmtpClientWorker extends ThreadWorker<