Interleave

org.apache.pekko.stream.javadsl.Interleave
object Interleave

Attributes

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

Members list

Value members

Concrete methods

def create[T](inputPorts: Int, segmentSize: Int, eagerClose: Boolean): Graph[UniformFanInShape[T, T], NotUsed]

Create a new Interleave with the specified number of input ports and given size of elements to take from each input.

Create a new Interleave with the specified number of input ports and given size of elements to take from each input.

Value parameters

eagerClose

if true, interleave completes upstream if any of its upstream completes.

inputPorts

number of input ports

segmentSize

number of elements to send downstream before switching to next input port

Attributes

Source
Graph.scala
def create[T](inputPorts: Int, segmentSize: Int): Graph[UniformFanInShape[T, T], NotUsed]

Create a new Interleave with the specified number of input ports and given size of elements to take from each input, with eagerClose set to false.

Create a new Interleave with the specified number of input ports and given size of elements to take from each input, with eagerClose set to false.

Value parameters

inputPorts

number of input ports

segmentSize

number of elements to send downstream before switching to next input port

Attributes

Source
Graph.scala