How many async tasks are still alive

Yes I didn’t mean that PR would help you (sorry). Just pointing out that this stuff is still changing quite a bit internally so the details aren’t settled.

Could I ask about your use case which requires getting a list of tasks? There has been some discussion of using the emerging ideas of “structured concurrency” (described eg, here) to rework the way that task lifetimes are managed. I wonder if that would help your use case?

1 Like