Click or drag to resize
Akka.NETSourceOperationsStatefulSelectManyTOut1, TOut2, 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 SelectManyTOut1, TOut2, TMat(SourceTOut1, TMat, FuncTOut1, IEnumerableTOut2). 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 SelectManyTOut1, TOut2, TMat(SourceTOut1, TMat, FuncTOut1, IEnumerableTOut2)

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public static Source<TOut2, TMat> StatefulSelectMany<TOut1, TOut2, TMat>(
	this Source<TOut1, TMat> flow,
	Func<Func<TOut1, IEnumerable<TOut2>>> mapConcaterFactory
)

Parameters

flow
Type: Akka.Streams.DslSourceTOut1, TMat
TBD
mapConcaterFactory
Type: SystemFuncFuncTOut1, IEnumerableTOut2
TBD

Type Parameters

TOut1
TBD
TOut2
TBD
TMat
TBD

Return Value

Type: SourceTOut2, TMat
TBD

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