Package org.apache.pekko.stream
Class Graph.GraphMapMatVal<S extends Shape,M>
java.lang.Object
org.apache.pekko.stream.Graph.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.
param: self the graph whose materialized value will be mapped
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmapMaterializedValue
(scala.Function1<M, M2> f) Transform the materialized value of this Graph, leaving all other properties as they were.
-
Constructor Details
-
GraphMapMatVal
-
-
Method Details
-
mapMaterializedValue
Transform the materialized value of this Graph, leaving all other properties as they were.- Parameters:
f
- function to map the graph's materialized value
-