Skip to content

Type Method

reduce(into:value:)

iOS 26.0+ iPadOS 26.0+ Mac Catalyst 26.0+ macOS 26.0+ tvOS 26.0+ visionOS 26.0+ watchOS 26.0+
Reduces a property value into an accumulating summary.
static func reduce(into summary: inout Self.Summary, value: Self.Value)

Parameters

summary

The accumulating summary value to modify.

value

The individual property value to incorporate into the summary.

Discussion

This method is called to incorporate individual property values into a summary that represents the aggregated state across multiple progress managers.