Skip to content

Instantly share code, notes, and snippets.

@mmollaverdi
Last active October 27, 2016 17:38
Show Gist options
  • Save mmollaverdi/d318b93ff41f400edff3151e5b6e88c8 to your computer and use it in GitHub Desktop.
Save mmollaverdi/d318b93ff41f400edff3151e5b6e88c8 to your computer and use it in GitHub Desktop.
def getSystemStatusInfo(id: String): Future[SystemStatusInfo] = {
map2(fetchSystem(id), fetchSystemStatus(id))((system, systemStatus) => SystemStatusInfo(system, systemStatus))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment