MergeSorted

org.apache.pekko.stream.javadsl.MergeSorted
object MergeSorted

Merge two pre-sorted streams such that the resulting stream is sorted.

'''Emits when''' both inputs have an element available

'''Backpressures when''' downstream backpressures

'''Completes when''' all upstreams complete

'''Cancels when''' downstream cancels

Attributes

Source
Graph.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def create[T <: Comparable[LazyRef(...)]](): Graph[FanInShape2[T, T, T], NotUsed]

Create a new MergeSorted operator with the specified input type.

Create a new MergeSorted operator with the specified input type.

Attributes

Source
Graph.scala
def create[T](comparator: Comparator[T]): Graph[FanInShape2[T, T, T], NotUsed]

Create a new MergeSorted operator with the specified input type.

Create a new MergeSorted operator with the specified input type.

Attributes

Source
Graph.scala