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.

Asynchronous requests

See original GitHub issue

When performing requests the UI (especially with large IAT scans) the UI is frozen and IDA is unusable while the requests are performed. To fix this we should use asyncio’s Futures.

Example combined with add_done_callback: image image

More elegant alternatives would include the use of async libraries such as:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
anthonyprintupcommented, Oct 26, 2021

After a few days of tinkering, I finally got a promising POC. Looking forward to start implementing it this weekend.

KrMX1rF47B

0reactions
herrcorecommented, Oct 20, 2021

Yasss! This is pretty exciting : ))

Also, I’ll kill the py 2.7 feature request for now… python 3 is the future I guess. Unless we hear a lot of screaming, long live Python 3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronous and asynchronous requests - Web APIs | MDN
Synchronous requests block the execution of code which causes "freezing" on the screen and an unresponsive user experience. Asynchronous request.
Read more >
Understanding synchronous and asynchronous requests
Asynchronous request — Where the client continues execution after initiating the request and processes the result whenever the AppServer makes it available. The ......
Read more >
webserver - What is the difference between asynchronous and ...
Synchronous: A synchronous request blocks the client until operation completes. In such case, javascript engine of the browser is blocked.
Read more >
Asynchronous Requests - IBM
To process a routine asynchronously means that the server handles the request while control returns to your program so it can continue processing....
Read more >
Asynchronous Requests - Oregon State University
The way asynchronous calls work is via callback functions. The general idea is that you pass the thing that will be doing work...
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