support async tasks?
See original GitHub issuenow the http client is synchronised and we would like to use AioHttpClient to simulate large number of requests concurrently. However the task set supports no async def xxx()
yet, adding support for async
would be really helpful?
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Task asynchronous programming model - Microsoft Learn
This topic provides an overview of when and how to use async programming and includes links to support topics that contain details and...
Read more >AsyncTask - Android Developers
AsyncTasks should ideally be used for short operations (a few seconds at the most.) ... An asynchronous task is defined by 3 generic...
Read more >async function - JavaScript - MDN Web Docs - Mozilla
The async function declaration declares an async function where the await keyword is permitted within the function body. The async and await ......
Read more >Asynchronous Tasks - Wolfram Language Documentation
Asynchronous tasks run in the background and evaluate functions asynchronously when there is an event. Asynchronous tasks may run only until some work...
Read more >Asynchronous support - Django documentation
It is necessary to adapt the calling style when calling sync code from an async context, or vice-versa. For this there are two...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There are some libraries that are based around
async
. For example, I have use case for connecting to a websocket during a task. The popularwebsockets
library usesasyncio
: https://websockets.readthedocs.io/en/stable/intro.htmlI should say I have thought that it might be worthwhile to swap from gevent library to asyncio… or at least make that an option behind the scenes