Packages

object Balance

Source
Graph.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Balance
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply[T](outputPorts: Int, waitForAllDownstreams: Boolean = false): Balance[T]

    Create a new Balance with the specified number of output ports.

    Create a new Balance with the specified number of output ports. This method sets eagerCancel to false. To specify a different value for the eagerCancel parameter, then instantiate Balance using the constructor.

    If eagerCancel is true, balance cancels upstream if any of its downstreams cancel, if false, when all have cancelled.

    outputPorts

    number of output ports

    waitForAllDownstreams

    if you use waitForAllDownstreams = true it will not start emitting elements to downstream outputs until all of them have requested at least one element, default value is false