Class Outlet$

java.lang.Object
org.apache.pekko.stream.Outlet$

public class Outlet$ extends Object
An Outlet is a typed output to a Shape. Its partner in the Module view is the OutPort (which does not bear an element type because Modules only express the internal structural hierarchy of stream topologies).
  • Field Details

    • MODULE$

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

    • Outlet$

      public Outlet$()
  • Method Details

    • apply

      public <T> Outlet<T> apply(String name)
      Scala API

      Creates a new Outlet with the given name. The name will be used when displaying debug information or error messages involving the port.

    • create

      public <T> Outlet<T> create(String name)
      JAVA API

      Creates a new Outlet with the given name. The name will be used when displaying debug information or error messages involving the port.