how to structure my code to have retries in a function that return a Promises
so i have not really worked too much with C++ promise and future and i am unable to understand how i can add retries to a method that returns a promise but i have a method like below