| FlowOperationsPrependTIn, TOut1, TOut2, TMat Method |
Prepend the given
SourceTOut, TMat to this
FlowTIn, TOut, TMat, meaning that before elements
are generated from this
FlowTIn, TOut, TMat, the Source's elements will be produced until it
is exhausted, at which point Flow elements will start being produced.
Note that this
FlowTIn, TOut, TMat will be materialized together with the
SourceTOut, TMat and just kept
from producing elements by asserting back-pressure until its time comes.
If the given
SourceTOut, TMat gets upstream error - no elements from this
FlowTIn, TOut, TMat will be pulled.
Emits when element is available from the given
SourceTOut, TMat or from current stream when the
SourceTOut, TMat is completed
Backpressures when downstream backpressures
Completes when this
FlowTIn, TOut, TMat completes
Cancels when downstream cancels
Namespace:
Akka.Streams.Dsl
Assembly:
Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public static Flow<TIn, TOut2, TMat> Prepend<TIn, TOut1, TOut2, TMat>(
this Flow<TIn, TOut1, TMat> flow,
IGraph<SourceShape<TOut2>, TMat> that
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member Prepend :
flow : Flow<'TIn, 'TOut1, 'TMat> *
that : IGraph<SourceShape<'TOut2>, 'TMat> -> Flow<'TIn, 'TOut2, 'TMat> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslFlowTIn, TOut1, TMat
TBD - that
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat
TBD
Type Parameters
- TIn
- TBD
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
Return Value
Type:
FlowTIn,
TOut2,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
FlowTIn,
TOut1,
TMat. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also