You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem Description
Calls to the network should not be blocking.
Proposed Feature
The functions should be awaitable, please. If people want to make them blocking after that, then they can wrap them in something.
Alternatives Considered
I could wrap them in something which dispatches them in other threads, but this is not something that developers should have to deal with.
Implementation Suggestions
I don't even know how you made it blocking in the first place. Network fetch is async by nature.
Use Case
I can't be blocking my threads whilst fetching. We need to be able to do things like asyncio.gather(*tasks) to make simultaneous API calls.
Additional Context
I am using the latest v1.13.3 recent release. This release did little to solve the type issues previously reported as a bug.
The text was updated successfully, but these errors were encountered:
Problem Description
Calls to the network should not be blocking.
Proposed Feature
The functions should be awaitable, please. If people want to make them blocking after that, then they can wrap them in something.
Alternatives Considered
I could wrap them in something which dispatches them in other threads, but this is not something that developers should have to deal with.
Implementation Suggestions
I don't even know how you made it blocking in the first place. Network fetch is async by nature.
Use Case
I can't be blocking my threads whilst fetching. We need to be able to do things like
asyncio.gather(*tasks)
to make simultaneous API calls.Additional Context
I am using the latest v1.13.3 recent release. This release did little to solve the type issues previously reported as a bug.
The text was updated successfully, but these errors were encountered: