Long-term implications of async/await for the programming model

It should be possible to build tools which measure how long an async function continues executing after it was cancelled, or how many times it suspended despite being cancelled, etc. That would allow developers to find a balance between the cost of checking cancellation and having more unwanted tasks that continue to execute.

2 Likes