Retrying based on condition
Hi! I have an effect that I made with
tryPromise that fetches something from an endpoint. I would like to keep retrying that effect until the returned value from the endpoint matches some condition. What's the best way to go about it?