I have an array of urls I want to make get requests to. I create a stream from the urls array, and flatMap ajax requests, like so: responses = Bacon.fromArray(url_arr) .flatMap(function(url) {Bacon.fromPromise($.get(url))})
Now, in the responses stream, I want to keep redoing the ajax until I get the value. How do I do that?