Created
December 9, 2019 00:37
-
-
Save duanebester/38e743502d071fee9e43e4d801d530e1 to your computer and use it in GitHub Desktop.
WebSocket Status Flow
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
val (wsActor, wsSource) = Source | |
.actorRef[Message](32, OverflowStrategy.dropNew) | |
.preMaterialize() | |
def wsStatusFlow(uuid: String): Flow[Message, Message, Any] = | |
Flow.fromSinkAndSource(Sink.ignore, wsSource) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment