| SubFlowOperationsScanTOut1, TOut2, TMat, TClosed Method |
Similar to
AggregateTOut1, TOut2, TMat, TClosed(SubFlowTOut1, TMat, TClosed, TOut2, FuncTOut2, TOut1, TOut2) but is not a terminal operation,
emits its current value which starts at
zero and then
applies the current and next value to the given function
scan,
emitting the next current value.
If the function
scan throws an exception and the supervision decision is
Restart current value starts at
zero again
the stream will continue.
Emits when the function scanning the element returns a new element
Backpressures when downstream backpressures
Completes when upstream 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 SubFlow<TOut2, TMat, TClosed> Scan<TOut1, TOut2, TMat, TClosed>(
this SubFlow<TOut1, TMat, TClosed> flow,
TOut2 zero,
Func<TOut2, TOut1, TOut2> scan
)
[<ExtensionAttribute>]
static member Scan :
flow : SubFlow<'TOut1, 'TMat, 'TClosed> *
zero : 'TOut2 *
scan : Func<'TOut2, 'TOut1, 'TOut2> -> SubFlow<'TOut2, 'TMat, 'TClosed>
Parameters
- flow
- Type: Akka.Streams.DslSubFlowTOut1, TMat, TClosed
TBD - zero
- Type: TOut2
TBD - scan
- Type: SystemFuncTOut2, TOut1, TOut2
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