| SourceOperationsPrependTOut1, TOut2, TMat 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.42 (1.2.3.42)
Syntax public static Source<TOut2, TMat> Prepend<TOut1, TOut2, TMat>(
this Source<TOut1, TMat> flow,
IGraph<SourceShape<TOut2>, TMat> that
)
where TOut1 : TOut2
[<ExtensionAttribute>]
static member Prepend :
flow : Source<'TOut1, 'TMat> *
that : IGraph<SourceShape<'TOut2>, 'TMat> -> Source<'TOut2, 'TMat> when 'TOut1 : 'TOut2
Parameters
- flow
- Type: Akka.Streams.DslSourceTOut1, TMat
TBD - that
- Type: Akka.StreamsIGraphSourceShapeTOut2, TMat
TBD
Type Parameters
- TOut1
- TBD
- TOut2
- TBD
- TMat
- TBD
Return Value
Type:
SourceTOut2,
TMatTBD
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
SourceTOut1,
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