* StreamTcp and Http extensions now return Flows and Sources that can be materialized later * Flow can now be completed with another flow to be turned into a runnable flow
This commit is contained in:
parent
cac9137aa9
commit
672d4ed091
43 changed files with 1327 additions and 1236 deletions
|
|
@ -42,7 +42,7 @@ object Sink {
|
|||
* a [[FlowGraphBuilder]] and returns the `UndefinedSource`.
|
||||
*/
|
||||
def apply[T](graph: PartialFlowGraph)(block: FlowGraphBuilder ⇒ UndefinedSource[T]): Sink[T] =
|
||||
createSinkFromBuilder(new FlowGraphBuilder(graph.graph), block)
|
||||
createSinkFromBuilder(new FlowGraphBuilder(graph), block)
|
||||
|
||||
private def createSinkFromBuilder[T](builder: FlowGraphBuilder, block: FlowGraphBuilder ⇒ UndefinedSource[T]): Sink[T] = {
|
||||
val in = block(builder)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue