Skip to content

Instantly share code, notes, and snippets.

@BartoszJarocki
Created May 14, 2017
Embed
What would you like to do?
public class RemoteRepository implements Repository {
...
public Observable<List<Contributor>> contributors(String owner, String repo) {
return githubApi.contributors(owner, repo)
.flatMap(response -> {
...
.compose(threadConfiguration.applySchedulers());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment