Skip to content

Instantly share code, notes, and snippets.

@drawers
Last active August 7, 2017 03:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drawers/a48f31cf6071765ae2c4c3ebd90a0c1d to your computer and use it in GitHub Desktop.
Save drawers/a48f31cf6071765ae2c4c3ebd90a0c1d to your computer and use it in GitHub Desktop.
Observable<Games> retrieveGames(String playerName) {
return playerRepository.retrieve(playerName)
.flatMap( (player) -> gamesRepository.retrieve(player.id()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment