!str #16416,#16994 BidiFlow DSL and Flow.join Mat

- add BidiFlow, with atop and join combinators
- add Flow.join(BidiFlow)
- correct Flow.join’s default materialized value selection to Keep.left
This commit is contained in:
Roland Kuhn 2015-03-04 15:22:33 +01:00
parent 1b52ae333f
commit 157629f8af
25 changed files with 1328 additions and 18 deletions

View file

@ -42,6 +42,7 @@ private[akka] object StreamLayout {
def isSink: Boolean = (inPorts.size == 1) && outPorts.isEmpty
def isSource: Boolean = (outPorts.size == 1) && inPorts.isEmpty
def isFlow: Boolean = (inPorts.size == 1) && (outPorts.size == 1)
def isBidiFlow: Boolean = (inPorts.size == 2) && (outPorts.size == 2)
def growConnect(that: Module, from: OutPort, to: InPort): Module =
growConnect(that, from, to, Keep.left)