Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 307 Bytes

timeout.md

File metadata and controls

8 lines (6 loc) · 307 Bytes

Timeout

The setTimeout method allows you to set a timeout on a request. The request will be aborted after the timeout. Note that the timeout is in milliseconds. Details here.

const sgMail = require('@sendgrid/mail');
sgMail.setTimeout(3000);