Graph

org.apache.pekko.stream.Graph
See theGraph companion trait
object Graph

Attributes

Companion
trait
Source
Graph.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Graph.type

Members list

Type members

Classlikes

final implicit class GraphMapMatVal[S <: Shape, M](self: Graph[S, M])

Scala API, see https://github.com/akka/akka/issues/28501 for discussion why this can't be an instance method on class Graph.

Scala API, see https://github.com/akka/akka/issues/28501 for discussion why this can't be an instance method on class Graph.

Value parameters

self

the graph whose materialized value will be mapped

Attributes

Source
Graph.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def mapMaterializedValue[S <: Shape, M1, M2](g: Graph[S, M1])(f: M1 => M2): Graph[S, M2]

Java API Transform the materialized value of this Flow, leaving all other properties as they were.

Java API Transform the materialized value of this Flow, leaving all other properties as they were.

Value parameters

f

function to map the graph's materialized value

g

the graph being transformed

Attributes

Returns

a graph with same semantics as the given graph, except from the materialized value which is mapped using f.

Source
Graph.scala

Implicits

Implicits

final implicit def GraphMapMatVal[S <: Shape, M](self: Graph[S, M]): GraphMapMatVal[S, M]

Scala API, see https://github.com/akka/akka/issues/28501 for discussion why this can't be an instance method on class Graph.

Scala API, see https://github.com/akka/akka/issues/28501 for discussion why this can't be an instance method on class Graph.

Value parameters

self

the graph whose materialized value will be mapped

Attributes

Source
Graph.scala