Builder

org.apache.pekko.stream.javadsl.GraphDSL.Builder
final class Builder[+Mat]()(implicit val delegate: Builder[Mat])

Attributes

Source
Graph.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Builder[Mat]

Members list

Type members

Classlikes

final class ForwardOps[T](_out: Outlet[T])

Attributes

Source
Graph.scala
Supertypes
class Object
trait Matchable
class Any
final class ReverseOps[T](out: Inlet[T])

Attributes

Source
Graph.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

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.

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.

Attributes

Source
Graph.scala
def from[T](out: Outlet[T]): ForwardOps[T]

Attributes

Source
Graph.scala
def from[T](src: SourceShape[T]): ForwardOps[T]

Attributes

Source
Graph.scala
def from[I, O](f: FlowShape[I, O]): ForwardOps[O]

Attributes

Source
Graph.scala
def from[I, O](j: UniformFanInShape[I, O]): ForwardOps[O]

Attributes

Source
Graph.scala
def from[I, O](j: UniformFanOutShape[I, O]): ForwardOps[O]

Attributes

Source
Graph.scala

Returns an Outlet 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 Source, Sink, Flow or BidiFlow.

Returns an Outlet 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 Source, Sink, Flow 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 a 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.

Attributes

Returns

The outlet that will emit the materialized value.

Source
Graph.scala
def to[T](in: Inlet[T]): ReverseOps[T]

Attributes

Source
Graph.scala
def to[T](dst: SinkShape[T]): ReverseOps[T]

Attributes

Source
Graph.scala
def to[I, O](f: FlowShape[I, O]): ReverseOps[I]

Attributes

Source
Graph.scala
def to[I, O](j: UniformFanInShape[I, O]): ReverseOps[I]

Attributes

Source
Graph.scala
def to[I, O](j: UniformFanOutShape[I, O]): ReverseOps[I]

Attributes

Source
Graph.scala