+str #15085 Add Duct as free-standing Flow
This commit is contained in:
parent
c62bbcdb68
commit
aced77cccb
6 changed files with 627 additions and 133 deletions
|
|
@ -9,6 +9,7 @@ import akka.stream.impl.ActorBasedFlowMaterializer
|
|||
import akka.stream.impl.Ast
|
||||
import org.reactivestreams.api.Producer
|
||||
import scala.concurrent.duration._
|
||||
import org.reactivestreams.api.Consumer
|
||||
|
||||
object FlowMaterializer {
|
||||
/**
|
||||
|
|
@ -40,6 +41,21 @@ trait FlowMaterializer {
|
|||
*/
|
||||
private[akka] def consume[I](producerNode: Ast.ProducerNode[I], ops: List[Ast.AstNode]): Unit
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] def ductProduceTo[In, Out](consumer: Consumer[Out], ops: List[Ast.AstNode]): Consumer[In]
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] def ductConsume[In](ops: List[Ast.AstNode]): Consumer[In]
|
||||
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
private[akka] def ductBuild[In, Out](ops: List[Ast.AstNode]): (Consumer[In], Producer[Out])
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue