Contents

summary(of:)

Returns a summary for the specified unsigned integer array property across the progress subtree.

Declaration

final func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> [UInt64] where P : ProgressManager.Property, P.Summary == [UInt64], P.Value == UInt64

Parameters

  • property:

    The type of the unsigned integer property to summarize. Must be a property where the value type is UInt64 and the summary type is [UInt64].

Return Value

The aggregated summary value for the specified property across the entire subtree.

Discussion

This method aggregates the values of a custom unsigned integer property from the underlying progress manager and all its children, returning a consolidated summary value as an array.