Skip to content

Instantly share code, notes, and snippets.

@tomaszperek
Created October 10, 2015 11:19
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 tomaszperek/eb5696e5054c260f8da5 to your computer and use it in GitHub Desktop.
Save tomaszperek/eb5696e5054c260f8da5 to your computer and use it in GitHub Desktop.
Map over Future.sequence
Future.sequence(Seq(futureA, futureB, futureC)).map(_.sum)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment