Skip to content

Commit 1750220

Browse files
authored
Update RunAfterEitherAsync.java
1 parent bdd8137 commit 1750220

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

async/completablefuture/RunAfterEitherAsync.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
import java.util.concurrent.CompletableFuture;
66
import java.util.concurrent.TimeUnit;
77

8+
// runAfterEitherAsync returns a future which runs an async task
9+
// when either of the supplied futures completes
10+
811
public class RunAfterEitherAsync {
912

1013
public static void main(String[] args) throws InterruptedException {

0 commit comments

Comments
 (0)