Package org.apache.pekko.stream.scaladsl
Class Keep
java.lang.Object
org.apache.pekko.stream.scaladsl.Keep
Convenience functions for often-encountered purposes like keeping only the
left (first) or only the right (second) of two input values.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Keep
public Keep()
-
-
Method Details
-
left
public static <L,R> scala.Function2<L,R, left()L> -
right
public static <L,R> scala.Function2<L,R, right()R> -
both
public static <L,R> scala.Function2<L,R, both()scala.Tuple2<L, R>> -
none
-