Under structured concurrency every future has a parent, cancellation flows downward, and errors flow upward. When a future returns, you can be sure it’s done doing work.
Links
- Structured Concurrency - by Martin Sustrik - 250bpm
- GitHub - sustrik/libdill: Structured concurrency in C
- Notes on structured concurrency, or: Go statement considered harmful — njs blog
- Tree-Structured Concurrency
- swift-evolution/proposals/0304-structured-concurrency.md at main · swiftlang/swift-evolution · GitHub
- Actor Model
- Kotlin Coroutine