Contents

summary(of:)

Returns a summary for a custom string 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 == [String?], P.Value == String?

Parameters

  • property:

    The type of the string property to summarize. Must be a property where both the value type is String? and the summary type is [String?].

Return Value

A [String?] summary value for the specified property.

Discussion

This method aggregates the values of a custom string property from this progress manager and all its children, returning a consolidated summary value.