final class Merge[T] extends GraphStage[UniformFanInShape[T, T]]
Merge several streams, taking elements as they arrive from input streams (picking randomly when several have elements ready).
Emits when one of the inputs has an element available
Backpressures when downstream backpressures
Completes when all upstreams complete (eagerComplete=false) or one upstream completes (eagerComplete=true), default value is false
Cancels when downstream cancels
- Source
- Graph.scala
- Alphabetic
- By Inheritance
- Merge
- GraphStage
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Type Members
-
type
Shape = UniformFanInShape[T, T]
Type-level accessor for the shape parameter of this graph.
Type-level accessor for the shape parameter of this graph.
- Definition Classes
- Graph
Value Members
-
def
addAttributes(attr: Attributes): Graph[UniformFanInShape[T, T], NotUsed]
- Definition Classes
- Graph
-
def
async: Graph[UniformFanInShape[T, T], NotUsed]
Put an asynchronous boundary around this
Graph
Put an asynchronous boundary around this
Graph
- Definition Classes
- Graph
-
def
createLogic(inheritedAttributes: Attributes): GraphStageLogic
- Definition Classes
- Merge → GraphStage
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
- Definition Classes
- GraphStage → GraphStageWithMaterializedValue
- val eagerComplete: Boolean
- val in: IndexedSeq[Inlet[T]]
-
def
initialAttributes: Attributes
- Definition Classes
- Merge → GraphStageWithMaterializedValue
- val inputPorts: Int
-
final
lazy val
module: Module
INTERNAL API.
INTERNAL API.
Every materializable element must be backed by a stream layout module
- Definition Classes
- GraphStageWithMaterializedValue → Graph
-
def
named(name: String): Graph[UniformFanInShape[T, T], NotUsed]
- Definition Classes
- Graph
- val out: Outlet[T]
- val shape: UniformFanInShape[T, T]
-
def
toString(): String
- Definition Classes
- Merge → AnyRef → Any
-
final
def
withAttributes(attr: Attributes): Graph[UniformFanInShape[T, T], NotUsed]
- Definition Classes
- GraphStageWithMaterializedValue → Graph