Last active
September 26, 2016 00:57
-
-
Save mzielu/1accc9f60e8925a1f57ff31db59b6450 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
private <T>Observable<T> callWithToken(Func1<String, Observable<T>> apiCall) { | |
return tokenResolver | |
.token() | |
.flatMap(apiCall); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment