---
title: "Discussion on \"Task Tree and Task Cancellation in Swift Concurrency: Key Concepts Explained\" | Hashnode"
description: "Discussion on \"Task Tree and Task Cancellation in Swift Concurrency: Key Concepts Explained\". Task Tree\nLet’s take a look at the code below\n\nAs you can see, the function printStudentInfo() has 2 child Tasks defined using async let. Inside the child Task getClassesAndScores(), it also has 2 child Tasks getClasses() and getScores() . So we have..."
url: "https://hashnode.com/posts/task-tree-and-task-cancellation-in-swift-concurrency-key-concepts-explained/67096a12cc55a4b00a47c9de"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Task Tree and Task Cancellation in Swift Concurrency: Key Concepts Explained](https://huypham85.hashnode.dev/task-tree-and-task-cancellation-in-swift-concurrency-key-concepts-explained?utm_source=hashnode&utm_medium=feed)

Task Tree Let’s take a look at the code below As you can see, the function printStudentInfo() has 2 child Tasks defined using async let. Inside the child Task getClassesAndScores(), it also has 2 child Tasks getClasses() and getScores() . So we have...

Oct 11, 2024 · 2 min read · huypham85.hashnode.dev  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#swift](https://hashnode.com/tag/swift)
-   [#mobile-development](https://hashnode.com/tag/mobile-development)
-   [#task-management](https://hashnode.com/tag/task-management)

## Written by

[Phạm Trung Huy](https://hashnode.com/@huypham85)

@huypham85 · Hanoi, Vietnam

  
[View profile](https://hashnode.com/@huypham85)

iOS Developer @Rikkeisoft

👋 I am a Mobile Developer based in Vietnam. My passion lies in continuously pushing the boundaries of my skills in this dynamic field.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
