| SubFlowOperationsPrependTOut1, TOut2, TMat, TClosed Method |
Prepend the given
SourceTOut, TMat to this
IFlowTOut, TMat, meaning that before elements
are generated from this
IFlowTOut, TMat, the Source's elements will be produced until it
is exhausted, at which point Flow elements will start being produced.
Note that this
IFlowTOut, 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
IFlowTOut, 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
IFlowTOut, 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 SubFlow<TOut2, TMat, TClosed> Prepend<TOut1, TOut2, TMat, TClosed>(
this SubFlow<TOut1, TMat, TClosed> flow,
IGraph<SourceShape<TOut2>, TMat> that
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member Prepend :
flow : SubFlow<'TOut1, 'TMat, 'TClosed> *
that : IGraph<SourceShape<'TOut2>, 'TMat> -> SubFlow<'TOut2, 'TMat, 'TClosed> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslSubFlowTOut1, TMat, TClosed
TBD - that
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat
TBD
Type Parameters
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
- TClosed
- TBD
Return Value
Type:
SubFlowTOut2,
TMat,
TClosedTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SubFlowTOut1,
TMat,
TClosed. 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