Click or drag to resize
Akka.NETSubFlowOperationsCollectTOut1, TOut2, TMat, TClosed Method
Transform this stream by applying the given function collector to each of the elements on which the function is defined (read: returns not null) as they pass through this processing step. Non-matching elements are filtered out.

Emits when the provided function collector is defined for the element

Backpressures when the function collector is defined for the element and 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> Collect<TOut1, TOut2, TMat, TClosed>(
	this SubFlow<TOut1, TMat, TClosed> flow,
	Func<TOut1, TOut2> collector
)

Parameters

flow
Type: Akka.Streams.DslSubFlowTOut1, TMat, TClosed
TBD
collector
Type: SystemFuncTOut1, TOut2
TBD

Type Parameters

TOut1
TBD
TOut2
TBD
TMat
TBD
TClosed
TBD

Return Value

Type: SubFlowTOut2, TMat, TClosed
TBD

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