Since there is not much work between random api calls idea is to call them concurrently, wait for the result, and in the meantime thread go back to do something else and check back again.
What is the best way to implement this in Rust? Following is experimental code but call does not complete in the background.
I cannot use join all as rest calls are made on random occurring events. Ideally just post the call and check the future later for data.
Thanks in advance