---
title: "Comment by Wily Ktpm on \"Rules of Structured Concurrency\" | Hashnode"
description: "Great breakdown of structured vs. unstructured tasks. One complementary tip: when using TaskGroup , explicitly handle child task errors within the for try await"
url: "https://hashnode.com/posts/rules-of-structured-concurrency/67f2bb1049ea7db6aa9cbd00/comment/69d686bcdcda570fbd853b1b"
---

[Discussion](https://hashnode.com/posts/rules-of-structured-concurrency/67f2bb1049ea7db6aa9cbd00)

Comment [Rules of Structured Concurrency](https://hashnode.com/posts/rules-of-structured-concurrency/67f2bb1049ea7db6aa9cbd00)

[Wily Ktpm](https://hashnode.com/@wilyktpm)

[Apr 8](https://hashnode.com/posts/rules-of-structured-concurrency/67f2bb1049ea7db6aa9cbd00/comment/69d686bcdcda570fbd853b1b)

Great breakdown of structured vs. unstructured tasks. One complementary tip: when using `TaskGroup`, explicitly handle child task errors within the `for try await` loop to prevent a single failing child from throwing an uncaught exception and canceling the entire group prematurely.
