Episode #516

Type Erased Async Sequences

Series: Async / Await

20 minutes
Published on January 13, 2022

This video is only available to subscribers. Get access to this video and 586 others.

We explore how we might encapsulate logic within an AsyncSequence and introduce the need for a type erased version. Type-erasure has some pros and cons and in this video we will explore how to create one called AnyAsyncSequence and how we can use it.

This episode uses Xcode 13.2.