Package akka.stream

Class Graph.GraphMapMatVal<S extends Shape,​M>

  • Enclosing interface:
    Graph<S extends Shape,​M>

    public static final class Graph.GraphMapMatVal<S extends Shape,​M>
    extends java.lang.Object
    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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <M2> Graph<S,​M2> mapMaterializedValue​(scala.Function1<M,​M2> f)
      Transform the materialized value of this Graph, leaving all other properties as they were.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphMapMatVal

        public GraphMapMatVal​(Graph<S,​M> self)
    • Method Detail

      • mapMaterializedValue

        public <M2> Graph<S,​M2> mapMaterializedValue​(scala.Function1<M,​M2> f)
        Transform the materialized value of this Graph, leaving all other properties as they were.

        Parameters:
        f - function to map the graph's materialized value