0

I would like to make multiple HTTP requests and once one returns, cancel the others. Something like Promise.race() in JavaScript.

Is there anywhere to do this with reqwest? Or is this something that needs to be done via tokio? if so how?

Finlay Weber
  • 2,989
  • 3
  • 17
  • 37

0 Answers0