Repeating Async Functions with Previous Results in JavaScript

Is there a way to repeat an async function several times or until a condition is true and it returns the previous result? https://effect.website/play#ee8560c4666b
Was this page helpful?