Contents

Publishers.Reduce

A publisher that applies a closure to all received elements and produces an accumulated value when the upstream publisher finishes.

Declaration

struct Reduce<Upstream, Output> where Upstream : Publisher

Topics

Creating a reduce publisher

Declaring supporting types

Inspecting publisher properties

See Also

Reducing elements