playframework / play-scala-websocket-example

Example Play Scala application showing WebSocket use with Akka actors
https://developer.lightbend.com/start/?group=play
Creative Commons Zero v1.0 Universal
195 stars 69 forks source link

Use a coupled flow #83

Closed wsargent closed 7 years ago

wsargent commented 7 years ago

Use http://doc.akka.io/api/akka/2.5.3/akka/stream/javadsl/Flow$.html#fromSinkAndSourceCoupled[I,O](sink:akka.stream.Graph[akka.stream.SinkShape[I],_],source:akka.stream.Graph[akka.stream.SourceShape[O],_]):akka.stream.javadsl.Flow[I,O,akka.NotUsed]