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

Support async request handlers #231

Open
jab opened this issue Apr 30, 2021 · 0 comments
Open

Support async request handlers #231

jab opened this issue Apr 30, 2021 · 0 comments

Comments

@jab
Copy link

jab commented Apr 30, 2021

Flask v2 (due to come out in the next couple weeks) adds limited support for async request handlers, see e.g.:

As the docs above say:

Existing Flask extensions only expect views to be synchronous. If they provide decorators to add functionality to views, those will probably not work with async views because they will not await the function or be awaitable. Other functions they provide will not be awaitable either and will probably be blocking if called within an async view.

This issue tracks adding support to Rebar specifically for Flask v2 async request handlers.

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

No branches or pull requests

1 participant