class Builder[+M] extends AnyRef

Source
Graph.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Builder
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def add[S <: Shape](graph: Graph[S, _]): S

    Import a graph into this module, performing a deep copy, discarding its materialized value and returning the copied Ports that are now to be connected.

  2. def asJava: javadsl.GraphDSL.Builder[M]

    Converts this Scala DSL element to it's Java DSL counterpart.

  3. def materializedValue: Outlet[M]

    Returns an Outlet that gives access to the materialized value of this graph.

    Returns an that gives access to the materialized value of this graph. Once the graph is materialized this outlet will emit exactly one element which is the materialized value. It is possible to expose this outlet as an externally accessible outlet of a , , or BidiFlow.

    It is possible to call this method multiple times to get multiple Outlet instances if necessary. All of the outlets will emit the materialized value.

    Be careful to not to feed the result of this outlet to an operator that produces the materialized value itself (for example to a Sink#fold that contributes to the materialized value) since that might lead to an unresolvable dependency cycle.

    returns

    The outlet that will emit the materialized value.