Click or drag to resize
Akka.NETSourceTOut, TMatRunSum Method
Shortcut for running this SourceTOut, TMat with a reduce function. The given function is invoked for every received element, giving it its previous output (from the second element) 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<TOut> RunSum(
	Func<TOut, TOut, TOut> reduce,
	IMaterializer materializer
)

Parameters

reduce
Type: SystemFuncTOut, TOut, TOut
TBD
materializer
Type: Akka.StreamsIMaterializer
TBD

Return Value

Type: TaskTOut
TBD
See Also