Created
May 30, 2018 13:38
-
-
Save teivah/7ab5deb620ada5e4a144ec531f6df811 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
future.setHandler(res -> { | |
if (res.succeeded()) { | |
// If the future succeeded | |
Object o = res.result(); | |
// Do something... | |
} else { | |
// If the future failed | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment