!str #18674 remove FlowGraph.Builder.add(Sink|Source)
This commit is contained in:
parent
630bd948d5
commit
0c78cca7ed
5 changed files with 10 additions and 19 deletions
|
|
@ -819,8 +819,8 @@ class MessageSpec extends FreeSpec with Matchers with WithMaterializerSpec {
|
|||
val messageHandler: Flow[Message, Message, Unit] =
|
||||
Flow.fromGraph {
|
||||
FlowGraph.create() { implicit b ⇒
|
||||
val in = b.add(Sink(messageIn))
|
||||
val out = b.add(Source(messageOut))
|
||||
val in = b.add(Sink(messageIn)).inlet
|
||||
val out = b.add(Source(messageOut)).outlet
|
||||
|
||||
FlowShape[Message, Message](in, out)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue