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

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

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

[Jailson Shankle](https://hashnode.com/@shankle)

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

Great summary of structured vs. unstructured tasks. One complementary tip: when using `TaskGroup`, explicitly handle child task errors inside the `for-await` loop to prevent a single failing task from propagating and canceling the entire group prematurely. This keeps your concurrency structure robust.
