 | Source<TOut, TMat>.ConcatMaterialized<TMat2, TMat3> Method |
Concatenate the given
Source< TOut, TMat> to this
Flow<TIn, TOut, TMat>, meaning that once this
Flow’s input is exhausted and all result elements have been generated,
the Source’s elements will be produced.
Note that the
Source< TOut, TMat> is materialized together with this Flow and just kept
from producing elements by asserting back-pressure until its time comes.
If this
Flow< TIn, TOut, TMat> gets upstream error - no elements from the given
Source< TOut, TMat> will be pulled.
@see
Concat<TIn, TOut>.
It is recommended to use the internally optimized
Left< TLeft, TRight> (TLeft, TRight) and
Right< TLeft, TRight> (TLeft, TRight) combiners
where appropriate instead of manually writing functions that pass through one of the values.
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntaxpublic Source<TOut, TMat3> ConcatMaterialized<TMat2, TMat3>(
IGraph<SourceShape<TOut>, TMat2> that,
Func<TMat, TMat2, TMat3> materializedFunction
)
member ConcatMaterialized :
that : IGraph<SourceShape<'TOut>, 'TMat2> *
materializedFunction : Func<'TMat, 'TMat2, 'TMat3> -> Source<'TOut, 'TMat3>
Parameters
- that
- Type: Akka.Streams.IGraph<SourceShape<TOut>, TMat2>
TBD - materializedFunction
- Type: System.Func<TMat, TMat2, TMat3>
TBD
Type Parameters
- TMat2
- TBD
- TMat3
- TBD
Return Value
Type:
Source<TOut,
TMat3>TBD
See Also