Structured Concurrency: Why JEP 505 Changes How We Think About Cancellation, Not Just Syntax
Most write-ups of JEP 505 begin with the new API shape. A StructuredTaskScope is now opened with a static open() method instead of a constructor. That is true, but it is also the least interesting part of the story. The real change is a question of ownership. Who is responsible for a thread, and what …
