GraphMapMatVal

org.apache.pekko.stream.Graph.GraphMapMatVal
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.

Value parameters

self

the graph whose materialized value will be mapped

Attributes

Source
Graph.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def mapMaterializedValue[M2](f: M => M2): Graph[S, M2]

Transform the materialized value of this Graph, leaving all other properties as they were.

Transform the materialized value of this Graph, leaving all other properties as they were.

Value parameters

f

function to map the graph's materialized value

Attributes

Source
Graph.scala