Created
May 30, 2018 13:39
-
-
Save teivah/b96cbbc7a7642762b127f5d95e983e83 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.compose(res -> { | |
// If the future succeeded | |
Object o = res.result; | |
//Do something | |
}, Future.future().setHandler(handler -> { | |
// If the future failed | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment