Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Commit 3f14f91

Browse files
committed
Update mind-map.puml and mind-map.svg to enhance TaskGroup usage; clarify task grouping and hierarchy concepts
1 parent 7f28a2d commit 3f14f91

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

diagrams/mind-map.puml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,15 @@
88
*[#lightblue] Structured Concurrency
99
**[#FFD700] Grouping tasks
1010
***[#lightgreen] new TaskGroup() + await TaskGroup
11-
**[#FFD700] Point of responsibility
11+
**[#FFD700] The parent waits for all child tasks
1212
***[#lightgreen]: async block + await Scope
1313

1414
async $scope {
1515
await $scope
1616
};
17-
**[#FFD700] A hierarchy of scopes
18-
***[#lightgreen]: async inherit block
19-
20-
async inherit $scope {
21-
await $scope
22-
};
17+
**[#FFD700] A hierarchy
18+
***[#lightgreen] async inherit $scope
19+
***[#lightgreen] spawn child ...
2320
*[#lightblue] Waiting for Results
2421
**[#lightgreen] await <Async\Awaitable>
2522
**[#FFD700] Waiting for multiple tasks

0 commit comments

Comments
 (0)