Last active
September 11, 2017 15:51
-
-
Save Otbivnoe/c06955e9c3015a8fbf2d29dc52e34ccc 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
login(username: "Username", password: "Password") | |
.flatMap(weak: self) { obj, user -> Observable<[Post]> in | |
return obj.loadPosts(for: user) | |
} | |
.subscribe() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment