I've got two futures that resolve to booleans. I basically want to do something like

(if (or @future1 @future2) 
  ...)

but, with the optimization that whichever one finishes first, if it's true, then I don't wait for the remaining future to finish; just go. Of course if the value is false, then wait for the remaining future to finish. Is there a straightforward way of doing this?

Edit
Report