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

using async without a thread #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wilsonwang371
Copy link

sometimes user needs to run async in his/her own thread instead to catch exceptions.

I added a main_loop() function so that I can control Async and get internal exceptions. In this way I can do something in case of hardware failure and I got disconnected.

@alistair23
Copy link
Collaborator

Hey Wilson,

Thanks for the patch! Do you mind updating the documentation at the same time to add some details and examples of how this should be used?

@wilsonwang371
Copy link
Author

let me take some time to go over it again. I totally forgot this pull request. :)

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

Successfully merging this pull request may close these issues.

2 participants