Conclusion

In this lesson, you looked at structured concurrency. You learned:

  • About the differences between structured concurrency and just using async/await.
  • How to use TaskGroup to create and manage a group of related tasks.
  • How to handle errors and cancelations on a TaskGroup.

In the next lesson, you’ll learn about an advanced concept related to structured concurrency, AsyncStream.

See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Structured Concurrency