One Logo Pool Ball
Combine · IOS API REFERENCE

Publishers.Reduce

struct · iOS 13.0+ · SDK 27.1

struct Reduce<Upstream, Output> where Upstream : Publisher

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

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

4 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

Publishers.Reduce.upstream

This declaration needs Swift generic type arguments. (no canonical witness for Upstream)

Publishers.Reduce.nextPartialResult

This declaration needs Swift generic type arguments. (no canonical witness for Upstream.Output)

Publishers.Reduce.init(upstream:initial:nextPartialResult:)

This declaration needs Swift generic type arguments. (no canonical witness for Upstream)

Publishers.Reduce.receive(subscriber:)

This declaration needs Swift generic type arguments. (no canonical witness for S)

All Combine types →