summary(of:)
Returns a summary for a custom URL 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 == [URL?], P.Value == URL?Parameters
- property:
The type of the URL property to summarize. Must be a property where the value type is
URL?and the summary type is[URL?].
Return Value
A [URL?] summary value for the specified property.
Discussion
This method aggregates the values of a custom URL property from this progress manager and all its children, returning a consolidated summary value as an array of URLs.