final class Zip[A, B] extends ZipWith2[A, B, (A, B)]
Combine the elements of 2 streams into a stream of tuples.
A Zip
has a left
and a right
input port and one out
port
Emits when all of the inputs has an element available
Backpressures when downstream backpressures
Completes when any upstream completes
Cancels when downstream cancels
- Source
- Graph.scala
- Alphabetic
- By Inheritance
- Zip
- ZipWith2
- GraphStage
- GraphStageWithMaterializedValue
- Graph
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Zip()
Type Members
-
type
Shape = FanInShape2[A, B, (A, B)]
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[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- Graph
-
def
async: Graph[FanInShape2[A, B, (A, B)], 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
- ZipWith2 → GraphStage
-
final
def
createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
- Definition Classes
- GraphStage → GraphStageWithMaterializedValue
-
val
in0: Inlet[A]
- Definition Classes
- ZipWith2
-
val
in1: Inlet[B]
- Definition Classes
- ZipWith2
-
def
initialAttributes: Attributes
- Definition Classes
- ZipWith2 → GraphStageWithMaterializedValue
-
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[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- Graph
-
def
out: Outlet[(A, B)]
- Definition Classes
- ZipWith2
- val shape: FanInShape2[A, B, (A, B)]
- def toString(): String
-
final
def
withAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]
- Definition Classes
- GraphStageWithMaterializedValue → Graph
-
val
zipper: (A, B) ⇒ (A, B)
- Definition Classes
- ZipWith2