Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
akka.stream.javadsl.ZipLatestWith.scala Maven / Gradle / Ivy
// auto-generated by sbt-boilerplate
/*
* Copyright (C) 2014-2020 Lightbend Inc.
*/
package akka.stream.javadsl
import akka.stream._
import akka.stream.scaladsl
import akka.japi.function
import akka.NotUsed
/**
* 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
*/
object ZipLatestWith {
/**
* Create a new `ZipLatestWith` vertex with the specified input types and zipping-function `f`.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create[A, B, Out](f: function.Function2[A, B, Out]): Graph[FanInShape2[A, B, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 3 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create3[T1, T2, T3, Out](f: function.Function3[T1, T2, T3, Out]): Graph[FanInShape3[T1, T2, T3, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 4 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create4[T1, T2, T3, T4, Out](f: function.Function4[T1, T2, T3, T4, Out]): Graph[FanInShape4[T1, T2, T3, T4, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 5 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create5[T1, T2, T3, T4, T5, Out](f: function.Function5[T1, T2, T3, T4, T5, Out]): Graph[FanInShape5[T1, T2, T3, T4, T5, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 6 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create6[T1, T2, T3, T4, T5, T6, Out](f: function.Function6[T1, T2, T3, T4, T5, T6, Out]): Graph[FanInShape6[T1, T2, T3, T4, T5, T6, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 7 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create7[T1, T2, T3, T4, T5, T6, T7, Out](f: function.Function7[T1, T2, T3, T4, T5, T6, T7, Out]): Graph[FanInShape7[T1, T2, T3, T4, T5, T6, T7, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 8 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create8[T1, T2, T3, T4, T5, T6, T7, T8, Out](f: function.Function8[T1, T2, T3, T4, T5, T6, T7, T8, Out]): Graph[FanInShape8[T1, T2, T3, T4, T5, T6, T7, T8, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 9 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out](f: function.Function9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out]): Graph[FanInShape9[T1, T2, T3, T4, T5, T6, T7, T8, T9, Out], NotUsed] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 10 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 11 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 12 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 13 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 14 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 15 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 16 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 17 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 18 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 19 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 20 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
def create20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Out](f: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 21 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
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: function.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] =
scaladsl.ZipLatestWith(f.apply _)
/** Create a new `ZipLatestWith` specialized for 22 inputs.
*
* @param f zipping-function from the input values to the output value
* @param attributes optional attributes for this vertex
*/
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: function.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] =
scaladsl.ZipLatestWith(f.apply _)
}