KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel