Click or drag to resize
Akka.NETSourceTOut, TMatRunAggregateAsyncTOut2 Method
Shortcut for running this SourceTOut, TMat with a async aggregate function. The given function is invoked for every received element, giving it its previous output (or the given zero value) and the element as input. The returned TaskTResult will be completed with value of the final function evaluation when the input stream ends, or completed with Failure if there is a failure signaled in the stream.

Namespace:  Akka.Streams.Dsl
Assembly:  Akka.Streams (in Akka.Streams.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public Task<TOut2> RunAggregateAsync<TOut2>(
	TOut2 zero,
	Func<TOut2, TOut, Task<TOut2>> aggregate,
	IMaterializer materializer
)

Parameters

zero
Type: TOut2
TBD
aggregate
Type: SystemFuncTOut2, TOut, TaskTOut2
TBD
materializer
Type: Akka.StreamsIMaterializer
TBD

Type Parameters

TOut2
TBD

Return Value

Type: TaskTOut2
TBD
See Also