Skip to content

Instantly share code, notes, and snippets.

@mmollaverdi
Created October 27, 2016 17:42
Show Gist options
  • Save mmollaverdi/8d00840d788fc19b19bddec2be6def8d to your computer and use it in GitHub Desktop.
Save mmollaverdi/8d00840d788fc19b19bddec2be6def8d to your computer and use it in GitHub Desktop.
def getSystemStatusInfo(id: String): Task[SystemStatusInfo] = {
map2(fetchSystemTask(id), fetchSystemStatusTask(id))((system, systemStatus) => SystemStatusInfo(system, systemStatus))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment