question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support async tasks?

See original GitHub issue

now 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:closed
  • Created 5 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
jjacobson93commented, May 22, 2019

There are some libraries that are based around async. For example, I have use case for connecting to a websocket during a task. The popular websockets library uses asyncio: https://websockets.readthedocs.io/en/stable/intro.html

6reactions
aldenpeterson-wfcommented, Aug 30, 2019

I 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found