Structured Concurrency: Managing the Hierarchical Cancellation & Error Handling
This video is available in the GOTO Play video app! Download it to enjoy offline access to our conference videos while on the move.
There are many approaches to concurrency all with different ways of handling cancellation and errors. Structured Concurrency is an approach that makes typical fan-out and fan-in use cases like races, easier to manage especially when sub-tasks need to be canceled or can produce errors. This talk will introduce the concept of Structured Concurrency and compare different approaches (with and without Loom) in Java, Kotlin, and Scala. Whether you are new to concurrency or familiar with the typical approaches, you will learn about new ways of tackling the complexities and how they vary across languages and frameworks.