Skip to content

Instantly share code, notes, and snippets.

@HennIdan
Last active May 29, 2016 13:45
Show Gist options
  • Save HennIdan/4cd270d8d27a3e0f0adeaa778d47827e to your computer and use it in GitHub Desktop.
Save HennIdan/4cd270d8d27a3e0f0adeaa778d47827e to your computer and use it in GitHub Desktop.
CompletableFuture <String> cf =
CompletableFuture.completedFuture("I'm done!");
cf.isDone(); // return true
cf.join(); // return "I'm done"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment