Created
November 26, 2017 06:52
-
-
Save babjo/fb62b7eb7b3d839d4b6dbb2a0abd2bd0 to your computer and use it in GitHub Desktop.
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
CompletableFuture<String> future | |
= CompletableFuture.supplyAsync(() -> "Hello"); | |
// ... | |
assertEquals("Hello", future.get()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment