Created
July 27, 2016 06:20
-
-
Save Bekbolatov/c1c83a5060b2c0e973c82115539689f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val X = Source.actorRef[Int](0, OverflowStrategy.dropNew) | |
val Y = X.to(Sink.foreach(println)) | |
val Z = Y.run() | |
Z ! "pretty cool" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment