Open wilsonwang371 opened 6 years ago
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?
let me take some time to go over it again. I totally forgot this pull request. :)
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.