Click or drag to resize
Akka.NETFlowOperationsStatefulSelectManyT, TIn, TOut, TMat Method
Transform each input element into an Enumerable of output elements that is then flattened into the output stream. The transformation is meant to be stateful, which is enabled by creating the transformation function mapConcaterFactory a new for every materialization — the returned function will typically close over mutable objects to store state between invocations. For the stateless variant see SelectManyT, TIn, TOut, TMat(FlowT, TIn, TMat, FuncTIn, IEnumerableTOut). The returned Enumerable MUST NOT contain null values, as they are illegal as stream elements - according to the Reactive Streams specification.

Emits when the mapping function returns an element or there are still remaining elements from the previously calculated collection

Backpressures when downstream backpressures or there are still remaining elements from the previously calculated collection

Completes when upstream completes and all remaining elements has been emitted

Cancels when downstream cancels

See also SelectManyT, TIn, TOut, TMat(FlowT, TIn, TMat, FuncTIn, IEnumerableTOut)

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static Flow<T, TOut, TMat> StatefulSelectMany<T, TIn, TOut, TMat>(
	this Flow<T, TIn, TMat> flow,
	Func<Func<TIn, IEnumerable<TOut>>> mapConcaterFactory
)

Parameters

flow
Type: Akka.Streams.DslFlowT, TIn, TMat
TBD
mapConcaterFactory
Type: SystemFuncFuncTIn, IEnumerableTOut
TBD

Type Parameters

T
TBD
TIn
TBD
TOut
TBD
TMat
TBD

Return Value

Type: FlowT, TOut, TMat
TBD

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FlowT, TIn, 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