mirror of
https://github.com/dawidd6/action-send-mail.git
synced 2026-11-21 21:06:12 +07:00
node_modules: update (#362)
Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
1 parent
4a48500d96
commit
aefdaa6a6c
49 files changed
+1316
-295
No files matched your search
+10
-3
@@ -76,6 +76,7 @@ export interface SMTPPoolRateLimit {
|
||||
* @param options SMTP Connection options
|
||||
*/
|
||||
declare class SMTPPool extends EventEmitter {
|
||||
readonly supportsAbortSignal = true;
|
||||
options: SMTPPoolResolvedOptions;
|
||||
logger: shared.Logger;
|
||||
name: string;
|
||||
@@ -102,10 +103,16 @@ declare class SMTPPool extends EventEmitter {
|
||||
*/
|
||||
send(mail: MailMessage<SMTPPoolSentMessageInfo>, callback: SMTPPoolSendCallback): boolean;
|
||||
/**
|
||||
* Closes all connections in the pool. If there is a message being sent, the connection
|
||||
* is closed later
|
||||
* Closes the pool. Idle connections are closed at once and a connection in the middle of a
|
||||
* delivery finishes it first, unless `force` is set: then it is closed too and its message
|
||||
* fails. `force` is for a caller that has given up on a delivery, such as one a server is
|
||||
* stalling by trickling its replies, which no socket timeout notices.
|
||||
*
|
||||
* @param options.force - Also close connections that are delivering a message
|
||||
*/
|
||||
close(): void;
|
||||
close(options?: {
|
||||
force?: boolean;
|
||||
}): void;
|
||||
/**
|
||||
* Returns true if there are free slots in the queue
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user