Class Inlet$

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

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

    • MODULE$

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

    • Inlet$

      public Inlet$()
  • Method Details

    • apply

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

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

    • create

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

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