Click or drag to resize
Akka.NETSourceTOut, TMatRunAggregateTOut2 Method
Shortcut for running this SourceTOut, TMat with a fold 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.129 (1.2.3.129)
Syntax
public Task<TOut2> RunAggregate<TOut2>(
	TOut2 zero,
	Func<TOut2, TOut, TOut2> aggregate,
	IMaterializer materializer
)

Parameters

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

Type Parameters

TOut2
TBD

Return Value

Type: TaskTOut2
TBD
See Also