summary(of:)
Returns a summary for the specified URL property across the progress subtree.
Declaration
final func summary<P>(of property: KeyPath<ProgressManager.Properties, P.Type>) -> [URL?] where P : ProgressManager.Property, P.Summary == [URL?], P.Value == URL?Parameters
- property:
The type of the URL property to summarize. Must be a property where both the value and summary types are
URL?and[URL?]respectively.
Return Value
The aggregated summary value for the specified property across the entire subtree.
Discussion
This method aggregates the values of a custom URL property from the underlying progress manager and all its children, returning a consolidated summary value.