summary(of:)
Returns a summary for a custom unsigned integer property across the progress subtree.
Declaration
final func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> P.Summary where P : ProgressManager.Property, P.Summary == [UInt64], P.Value == UInt64Parameters
- property:
The type of the unsigned integer property to summarize. Must be a property where the value type is
UInt64and the summary type is[UInt64].
Return Value
A [UInt64] summary value for the specified property.
Discussion
This method aggregates the values of a custom unsigned integer property from this progress manager and all its children, returning a consolidated summary value as an array of UInt64 values.