Thomvis/BrightFutures

Support for onComplete on sequence

Closed this issue · 3 comments

I would like on operator on SequenceType that return me form a [Future<>] a [Future<>] where all the future are completed.

Is this possible ?

No, I'm using sequence in my project, but the problem is that if one of the futures fail, I can't get the data.
My goal is to filter out the kind of error, that correspond to "NotFound" in my context, or to use the filter operator o a array of future.

You could first call recover on each future before putting it in the array and passing it to sequence.