top | item 37197019 (no title) mikko-apo | 2 years ago JDK21 has structured concurrency. It works with virtual threads so the main task will be moved aside (from the OS thread) until the sub tasks finnish.https://www.infoq.com/news/2023/06/structured-concurrency-jd... discuss order hn newest kimi|2 years ago Yes, that's what I was referring to.
kimi|2 years ago