Thanks Nate, good to know this is possible!
So my situation is i'm calling an API, and that API fails transiently and unpredictably for certain cases, i wanted that API call and then loading of that data to be a flow (since it consists of multiple steps / tasks). I thought if making it recursive so that it would retry any failures repeatedly until i had all of the results back.
I can't implement retries server side as i don't control that.
The API only provides an async endpoint where i send POST requests, then receive a job id which i can subsequently use to retrieve the results with a GET request. So i can't tell jobs have failed until when i go to retrieve them with the GET requests (unlike if i were using a sync endpoint and could retry failures immediately).
There may well be an obvious and simple solution i'm missing.