Packages

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
Linear Supertypes
ZipWith2[A, B, (A, B)], GraphStage[FanInShape2[A, B, (A, B)]], GraphStageWithMaterializedValue[FanInShape2[A, B, (A, B)], NotUsed], Graph[FanInShape2[A, B, (A, B)], NotUsed], AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Zip
  2. ZipWith2
  3. GraphStage
  4. GraphStageWithMaterializedValue
  5. Graph
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Zip()

Type Members

  1. 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

  1. def addAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]
    Definition Classes
    Graph
  2. 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
  3. def createLogic(inheritedAttributes: Attributes): GraphStageLogic
    Definition Classes
    ZipWith2GraphStage
  4. final def createLogicAndMaterializedValue(inheritedAttributes: Attributes): (GraphStageLogic, NotUsed)
  5. val in0: Inlet[A]
    Definition Classes
    ZipWith2
  6. val in1: Inlet[B]
    Definition Classes
    ZipWith2
  7. def initialAttributes: Attributes
  8. final lazy val module: Module

    INTERNAL API.

    INTERNAL API.

    Every materializable element must be backed by a stream layout module

    Definition Classes
    GraphStageWithMaterializedValueGraph
  9. def named(name: String): Graph[FanInShape2[A, B, (A, B)], NotUsed]
    Definition Classes
    Graph
  10. def out: Outlet[(A, B)]
    Definition Classes
    ZipWith2
  11. val shape: FanInShape2[A, B, (A, B)]
    Definition Classes
    ZipWith2Graph
  12. def toString(): String
    Definition Classes
    ZipZipWith2 → AnyRef → Any
  13. final def withAttributes(attr: Attributes): Graph[FanInShape2[A, B, (A, B)], NotUsed]
    Definition Classes
    GraphStageWithMaterializedValueGraph
  14. val zipper: (A, B) ⇒ (A, B)
    Definition Classes
    ZipWith2