Open fabifont opened 3 years ago
Seems like you didn't add support to async/await right? I tried running await mailer.sendEmail(mailParams) but even if it fails it doesn't resolve/reject the promise.
await mailer.sendEmail(mailParams)
resolve
reject
It's a websocket request so why do you want to add async/await support ? The callback onError and onSuccess are here to replace
Seems like you didn't add support to async/await right? I tried running
await mailer.sendEmail(mailParams)
but even if it fails it doesn'tresolve
/reject
the promise.