-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FUTURES] Added Futures.whenAllComplete(..).run(..) to Futures.java
Since runnable cannot throw checked exception, you cannot use getDone when defining your runnable which is a shame :( RELNOTES: - Add a run method to FutureCombiner to allow passing a runnable to Futures.whenAllComplete and Futures.whenAllSucceed ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=177663488
- Loading branch information
1 parent
d453cf1
commit de28fd8
Showing
5 changed files
with
366 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.