Coroutines (Part III) – Structured Concurrency and Cancellation

This is the third and final article of a 3 part series on Coroutines. If you haven’t read the first two articles, I highly suggest you do: Handling Cancellation Coroutines are cancelled cooperatively by throwing a CancellationException. Exception handlers that catch a top-level exception like Throwable will catch this exception. If you swallow the exception … Continue reading Coroutines (Part III) – Structured Concurrency and Cancellation