Last active
August 7, 2017 03:37
-
-
Save drawers/4b7685032bb8baf17365b14ed9347530 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
ListenableFuture<Games> retrieveGames(String playerName) { | |
return FluentFuture.from(playerRepository.retrieve(playerName)) | |
.transformAsync( (player) -> gamesRepository.retrieve(player.id()), directExecutor()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment