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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
Keep$
public Keep$()
-
-
Method Details
-
left
public <L,R> scala.Function2<L,R, left()L> -
right
public <L,R> scala.Function2<L,R, right()R> -
both
public <L,R> scala.Function2<L,R, both()scala.Tuple2<L, R>> -
none
-