Last active
July 8, 2017 14:18
-
-
Save MindFlavor/fdc12c37380cc190b05a3be32eaf31c4 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
fn code() -> impl Future<Item = (), Error = ErrorB> { | |
io_a() | |
.from_err() | |
.and_then(|_| done(met_a())) | |
.from_err() | |
.and_then(|_| done(met_b()).and_then(|_| io_b())) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment