This PR implements when_all. A new function to wait for multiple coroutines to finish. This function is designed to not suffer from head of line blocking when a coroutine takes particularly long to finish.
Before this PR, we write the following. Which forces the next request to be sent after reeving response from the server.
This PR implements
when_all
. A new function to wait for multiple coroutines to finish. This function is designed to not suffer from head of line blocking when a coroutine takes particularly long to finish.Before this PR, we write the following. Which forces the next request to be sent after reeving response from the server.
With this PR, we can do the following, Which will queue all request into the client before waiting for all responses.