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

Move to streams #10

Merged
merged 4 commits into from
Aug 11, 2015
Merged

Move to streams #10

merged 4 commits into from
Aug 11, 2015

Conversation

jettify
Copy link
Collaborator

@jettify jettify commented Aug 8, 2015

I've changed AsyncioMotorSocket, so now it relies on StreamReader and StreamWriter interface instead implementing asyncio.Protocol. This simplifies code, what do you think?


def connection_lost(self, exc):
pass
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How it signals to user-level API about transport errors?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess that supposed to be implemented later, signaling via some sort of Future object

asvetlov added a commit that referenced this pull request Aug 11, 2015
@asvetlov asvetlov merged commit b02585b into master Aug 11, 2015
@asvetlov asvetlov deleted the move-to-streams branch August 11, 2015 15:46
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.

3 participants