Thank you for the video; it helped clarify the concept.
I believe Task.sleep
now checks for cancellation—it seems this wasn't the case when Swift's structured concurrency was initially released, which explains why my example with two sleep functions worked. Is there a way to accomplish this using unstructured concurrency? While filing a radar is an option, it's not practical; I’d prefer to have reliable software before 2028.