Created
June 13, 2018 18:30
-
-
Save adamw/b839262549f8cae180861c41945f4241 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sealed trait BroadcastMessage | |
case class Subscribe(consumer: String => IO[Nothing, Unit]) extends BroadcastMessage | |
case class Received(msg: String) extends BroadcastMessage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment