We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
async
1 parent d268dc2 commit 455d2efCopy full SHA for 455d2ef
src/sender.js
@@ -101,7 +101,7 @@ class Sender {
101
* @param {net.NetConnectOpts | tls.ConnectionOptions} options - Connection options, host and port are required.
102
* @param {boolean} [secure = false] - If true connection will use TLS encryption.
103
*/
104
- async connect(options, secure = false) {
+ connect(options, secure = false) {
105
let self = this;
106
107
return new Promise((resolve, reject) => {
0 commit comments