We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c5856f commit bc324acCopy full SHA for bc324ac
Proposals/0023-progress-manager.md
@@ -396,7 +396,7 @@ extension ProgressManager.Properties {
396
}
397
398
static func finalSummary(_ parentSummary: [String?], _ selfSummary: [String?]) -> [String?] {
399
- parentSummary
+ parentSummary + selfSummary
400
401
402
@@ -423,7 +423,7 @@ func doSomething(subprogress: consuming Subprogress? = nil) async {
423
424
425
let filenames = manager.summary(of: ProgressManager.Properties.Filename.self) // get summary of filename in subtree
426
-print(filenames) // ["Capybara.jpg", "Snail.jpg"]
+print(filenames) // get ["Capybara.jpg", "Snail.jpg"] since we defined `finalSummary` to include filename cumulatively
427
```
428
429
### Interoperability with Existing `Progress`
0 commit comments