Unzip

org.apache.pekko.stream.javadsl.Unzip
object Unzip

Takes a stream of pair elements and splits each pair to two output streams.

An Unzip has one in port and one left and one right output port.

'''Emits when''' all of the outputs stops backpressuring and there is an input element available

'''Backpressures when''' any of the outputs backpressures

'''Completes when''' upstream completes

'''Cancels when''' any downstream cancels

Attributes

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

Members list

Value members

Concrete methods

def create[A, B](): Graph[FanOutShape2[Pair[A, B], A, B], NotUsed]

Creates a new Unzip operator with the specified output types.

Creates a new Unzip operator with the specified output types.

Attributes

Source
Graph.scala
def create[A, B](left: Class[A], right: Class[B]): Graph[FanOutShape2[Pair[A, B], A, B], NotUsed]

Creates a new Unzip operator with the specified output types.

Creates a new Unzip operator with the specified output types.

Attributes

Source
Graph.scala