Skip to content
This repository has been archived by the owner on Aug 10, 2023. It is now read-only.

Can you add async support? #14

Closed
Harry-Jing opened this issue Dec 4, 2022 · 6 comments
Closed

Can you add async support? #14

Harry-Jing opened this issue Dec 4, 2022 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Harry-Jing
Copy link
Contributor

The requeset need long time to resbonse, so async can solve this problem in some way
you can use the HTTPX for both synchronous and async.

@Harry-Jing
Copy link
Contributor Author

@Harry-Jing Harry-Jing reopened this Dec 4, 2022
@acheong08
Copy link
Owner

Would be fixed with #5

@acheong08
Copy link
Owner

WIP

@acheong08
Copy link
Owner

I'm not experienced with async. If you know a good way to do it, a pull request is welcome

@acheong08 acheong08 added help wanted Extra attention is needed enhancement New feature or request good first issue Good for newcomers labels Dec 4, 2022
@kotx
Copy link

kotx commented Dec 6, 2022

Hi @acheong08, I see this was closed and the async-dev branch was deleted. Was async support added and how can we use this?

@acheong08
Copy link
Owner

@kotx Live streaming is supported which is similar to async. It uses a generator to send live responses

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants