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

Add asyncio reader. #3

Merged
merged 3 commits into from
Nov 12, 2016
Merged

Add asyncio reader. #3

merged 3 commits into from
Nov 12, 2016

Conversation

aequitas
Copy link
Contributor

I added a reader implementation using asyncio so telegrams can be received without IO blocking.

I wanted to keep it a generator in spirit of the original reader. But was not able to create it that way. Async generators are only supported as of Python 3.6.

The current implementation uses a passed in asyncio.Queue object to push messages out.

Would you be so kind to release this change so I can finish my integration with home-assistant?

@aequitas aequitas mentioned this pull request Nov 12, 2016
12 tasks
@ndokter ndokter merged commit 59dd089 into ndokter:master Nov 12, 2016
@ndokter
Copy link
Owner

ndokter commented Nov 12, 2016

Thanks so much for you contribution. I will release this as 0.3

@aequitas
Copy link
Contributor Author

Thanks for the quick response :)

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