Class Broadcast$

java.lang.Object
org.apache.pekko.stream.scaladsl.Broadcast$

public class Broadcast$ extends Object
  • Field Details

    • MODULE$

      public static final Broadcast$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • Broadcast$

      public Broadcast$()
  • Method Details

    • apply

      public <T> Broadcast<T> apply(int outputPorts, boolean eagerCancel)
      Create a new Broadcast with the specified number of output ports.

      Parameters:
      outputPorts - number of output ports
      eagerCancel - if true, broadcast cancels upstream if any of its downstreams cancel.
    • apply$default$2

      public <T> boolean apply$default$2()