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

Added support asyncio methods #289

Merged
merged 1 commit into from Apr 7, 2016

Conversation

rodcloutier
Copy link
Contributor

fixes #241

This PR aims to enable support for coroutines within hug framework. Coroutines called through the web server or the cli will automatically be scheduled on the asyncio default event loop. This allows to use async code in decorated functions.

This PR does not enable asynchronous requests for the http server.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 99.953% when pulling a672a1e on rodcloutier:issue/241 into 23f9a9e on timothycrosley:develop.

@timothycrosley
Copy link
Collaborator

Amazing work! Thanks!

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.

Support async / await
3 participants