Skip to content

Instantly share code, notes, and snippets.

@mmollaverdi
Created October 27, 2016 19:14
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 mmollaverdi/78c41838266a1f446e3120c60889c6b5 to your computer and use it in GitHub Desktop.
Save mmollaverdi/78c41838266a1f446e3120c60889c6b5 to your computer and use it in GitHub Desktop.
import scala.concurrent.Future
def fetchSystem(id: String): Future[System] = ??? // do some magic to get system data from an API in a different galaxy
def fetchSystemStatus(id: String): Future[SystemStatus] = ??? // do some other magic to get system status from another API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment