o

akka.stream.javadsl

ZipLatestWith

object ZipLatestWith

Combine the elements of multiple streams into a stream of combined elements using a combiner function, picking always the latest of the elements of each source.

No element is emitted until at least one element from each Source becomes available. Whenever a new element appears, the zipping function is invoked with a tuple containing the new element and the other last seen elements.

Emits when all of the inputs have at least an element available, and then each time an element becomes available on either of the inputs

Backpressures when downstream backpressures

Completes when any of the upstreams completes

Cancels when downstream cancels

Source
ZipLatestWith.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZipLatestWith
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def create[A, B, Out](f: Function2[A, B, Out]): Graph[FanInShape2[A, B, Out], NotUsed]

    Create a new ZipLatestWith vertex with the specified input types and zipping-function f.

    Create a new ZipLatestWith vertex with the specified input types and zipping-function f.

    f

    zipping-function from the input values to the output value

  2. def create10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Out](f: Function10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Out]): Graph[FanInShape10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Out], NotUsed]

    Create a new ZipLatestWith specialized for 10 inputs.

    Create a new ZipLatestWith specialized for 10 inputs.

    f

    zipping-function from the input values to the output value

  3. def create11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Out](f: Function11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Out]): Graph[FanInShape11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Out], NotUsed]

    Create a new ZipLatestWith specialized for 11 inputs.

    Create a new ZipLatestWith specialized for 11 inputs.

    f

    zipping-function from the input values to the output value

  4. def create12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Out](f: Function12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Out]): Graph[FanInShape12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Out], NotUsed]

    Create a new ZipLatestWith specialized for 12 inputs.

    Create a new ZipLatestWith specialized for 12 inputs.

    f

    zipping-function from the input values to the output value

  5. def create13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Out](f: Function13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Out]): Graph[FanInShape13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Out], NotUsed]

    Create a new ZipLatestWith specialized for 13 inputs.

    Create a new ZipLatestWith specialized for 13 inputs.

    f

    zipping-function from the input values to the output value

  6. def create14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Out](f: Function14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Out]): Graph[FanInShape14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Out], NotUsed]

    Create a new ZipLatestWith specialized for 14 inputs.

    Create a new ZipLatestWith specialized for 14 inputs.

    f

    zipping-function from the input values to the output value

  7. def create15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Out](f: Function15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Out]): Graph[FanInShape15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Out], NotUsed]

    Create a new ZipLatestWith specialized for 15 inputs.

    Create a new ZipLatestWith specialized for 15 inputs.

    f

    zipping-function from the input values to the output value

  8. def create16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Out](f: Function16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Out]): Graph[FanInShape16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Out], NotUsed]

    Create a new ZipLatestWith specialized for 16 inputs.

    Create a new ZipLatestWith specialized for 16 inputs.

    f

    zipping-function from the input values to the output value

  9. def create17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Out](f: Function17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Out]): Graph[FanInShape17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Out], NotUsed]

    Create a new ZipLatestWith specialized for 17 inputs.

    Create a new ZipLatestWith specialized for 17 inputs.

    f

    zipping-function from the input values to the output value

  10. def create18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Out](f: Function18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Out]): Graph[FanInShape18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Out], NotUsed]

    Create a new ZipLatestWith specialized for 18 inputs.

    Create a new ZipLatestWith specialized for 18 inputs.

    f

    zipping-function from the input values to the output value

  11. def create19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Out](f: Function19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Out]): Graph[FanInShape19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Out], NotUsed]

    Create a new ZipLatestWith specialized for 19 inputs.

    Create a new ZipLatestWith specialized for 19 inputs.

    f

    zipping-function from the input values to the output value

  12. def create20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Out](f: Function20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Out]): Graph[FanInShape20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Out], NotUsed]

    Create a new ZipLatestWith specialized for 20 inputs.

    Create a new ZipLatestWith specialized for 20 inputs.

    f

    zipping-function from the input values to the output value

  13. def create21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Out](f: Function21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Out]): Graph[FanInShape21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Out], NotUsed]

    Create a new ZipLatestWith specialized for 21 inputs.

    Create a new ZipLatestWith specialized for 21 inputs.

    f

    zipping-function from the input values to the output value

  14. def create22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Out](f: Function22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Out]): Graph[FanInShape22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22, Out], NotUsed]

    Create a new ZipLatestWith specialized for 22 inputs.

    Create a new ZipLatestWith specialized for 22 inputs.

    f

    zipping-function from the input values to the output value

  15. def create3[T1, T2, T3, Out](f: Function3[T1, T2, T3, Out]): Graph[FanInShape3[T1, T2, T3, Out], NotUsed]

    Create a new ZipLatestWith specialized for 3 inputs.

    Create a new ZipLatestWith specialized for 3 inputs.

    f

    zipping-function from the input values to the output value

  16. def create4[T1, T2, T3, T4, Out](f: Function4[T1, T2, T3, T4, Out]): Graph[FanInShape4[T1, T2, T3, T4, Out], NotUsed]

    Create a new ZipLatestWith specialized for 4 inputs.

    Create a new ZipLatestWith specialized for 4 inputs.

    f

    zipping-function from the input values to the output value

  17. def create5[T1, T2, T3, T4, T5, Out](f: Function5[T1, T2, T3, T4, T5, Out]): Graph[FanInShape5[T1, T2, T3, T4, T5, Out], NotUsed]

    Create a new ZipLatestWith specialized for 5 inputs.

    Create a new ZipLatestWith specialized for 5 inputs.

    f

    zipping-function from the input values to the output value

  18. def create6[T1, T2, T3, T4, T5, T6, Out](f: Function6[T1, T2, T3, T4, T5, T6, Out]): Graph[FanInShape6[T1, T2, T3, T4, T5, T6, Out], NotUsed]

    Create a new ZipLatestWith specialized for 6 inputs.

    Create a new ZipLatestWith specialized for 6 inputs.

    f

    zipping-function from the input values to the output value

  19. def create7[T1, T2, T3, T4, T5, T6, T7, Out](f: Function7[T1, T2, T3, T4, T5, T6, T7, Out]): Graph[FanInShape7[T1, T2, T3, T4, T5, T6, T7, Out], NotUsed]

    Create a new ZipLatestWith specialized for 7 inputs.

    Create a new ZipLatestWith specialized for 7 inputs.

    f

    zipping-function from the input values to the output value

  20. def create8[T1, T2, T3, T4, T5, T6, T7, T8, Out](f: Function8[T1, T2, T3, T4, T5, T6, T7, T8, Out]): Graph[FanInShape8[T1, T2, T3, T4, T5, T6, T7, T8, Out], NotUsed]

    Create a new ZipLatestWith specialized for 8 inputs.

    Create a new ZipLatestWith specialized for 8 inputs.

    f

    zipping-function from the input values to the output value

  21. def create9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out](f: Function9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out]): Graph[FanInShape9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out], NotUsed]

    Create a new ZipLatestWith specialized for 9 inputs.

    Create a new ZipLatestWith specialized for 9 inputs.

    f

    zipping-function from the input values to the output value