Skip to content

Instantly share code, notes, and snippets.

@htimur
Created March 16, 2016 03:21
Show Gist options
  • Save htimur/9ccf9d3d2bc4b8173bca to your computer and use it in GitHub Desktop.
Save htimur/9ccf9d3d2bc4b8173bca to your computer and use it in GitHub Desktop.
val sourceOne = Source(List(1))
val sourceTwo = Source(List(2))
val merged = Source.combine(sourceOne, sourceTwo)(Merge(_))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment