=str #15250 Use BlackholeConsumer for Flow.consume()
* last operator in front of consume() was treated specially, running in impl.ActorConsumer instead of the ordinary processors
This commit is contained in:
parent
f93e3c21c0
commit
ecd469e539
8 changed files with 60 additions and 202 deletions
|
|
@ -46,7 +46,7 @@ object FlowMaterializer {
|
|||
* steps are split up into asynchronous regions is implementation
|
||||
* dependent.
|
||||
*/
|
||||
abstract class FlowMaterializer {
|
||||
abstract class FlowMaterializer(val settings: MaterializerSettings) {
|
||||
|
||||
/**
|
||||
* The `namePrefix` is used as the first part of the names of the actors running
|
||||
|
|
@ -59,21 +59,12 @@ abstract class FlowMaterializer {
|
|||
* ops are stored in reverse order
|
||||
*/
|
||||
private[akka] def toProducer[I, O](producerNode: Ast.ProducerNode[I], ops: List[Ast.AstNode]): Producer[O]
|
||||
/**
|
||||
* INTERNAL API
|
||||
*/
|
||||
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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue