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

Make BaseStorage Async #6

Closed
festinuz opened this issue Jul 21, 2017 · 0 comments · Fixed by #10
Closed

Make BaseStorage Async #6

festinuz opened this issue Jul 21, 2017 · 0 comments · Fixed by #10
Assignees

Comments

@festinuz
Copy link
Owner

As suggested by robin-gvx on reddit:

library relies heavily on asyncio, but for some reason get and set aren't required to be coroutines, but are coerced to be coroutines by the library. Why? If you're going to use them asynchronously anyway, why not require the user to write get and set as coroutines?

Perhaps abstract methods of BaseStorage should be defined as async methods.

@festinuz festinuz self-assigned this Jul 21, 2017
This was referenced Jul 22, 2017
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant