Home > Software design >  Running blocking function (f.e. requests) concurrently but asynchronous with Python
Running blocking function (f.e. requests) concurrently but asynchronous with Python

Time:01-21

There is a function that blocks event loop (f.e. that function makes an API request). I need to make continuous stream of requests which will run in parallel but not synchronous. So every next request will be started before the previous request will be finished.

So I found enter image description here

  • Related