 | GraphDsl.Builder<T>.MaterializedValue Property |
Returns an
Outlet< T> 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<TOut, TMat>,
Sink<TIn, TMat>,
Flow< TIn, TOut, TMat> or
BidiFlow<TIn1, TOut1, TIn2, TOut2, TMat>.
It is possible to call this method multiple times to get multiple
Outlet< T> 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 stage that produces the materialized value itself (for
example to a
Aggregate< TIn, TOut> (TOut, Func< TOut, TIn, TOut> ) that contributes to the materialized value) since that might lead to an unresolvable
dependency cycle.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic Outlet<T> MaterializedValue { get; }
member MaterializedValue : Outlet<'T> with get
Property Value
Type:
Outlet<T>
See Also