Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - test connection async #154

Closed
lucasjoao opened this issue Jul 16, 2018 · 3 comments
Closed

Suggestion - test connection async #154

lucasjoao opened this issue Jul 16, 2018 · 3 comments

Comments

@lucasjoao
Copy link

Using the api I found one situation where I need make the testConnection async in the same way that is possible send a email async.

Today I solved this making the call to testConnection async, but I was thinking if will not be better the api provide this solution? What do you think @bbottema?

@bbottema
Copy link
Owner

In your situation, how are you handling exceptions in case testConnection() fails?

@lucasjoao
Copy link
Author

Probably I will use callback to show some message to the user. Did I answer your question @bbottema? 🤔

@bbottema
Copy link
Owner

Closing as suplicate of #148.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants