Thanks for linking to the SO question. Honestly, all of those look ugly to me. I can’t believe a pretty standard use case requires that much code - it really hides the flow - which I feel is against the primary purpose of structured concurrency - to make this more obvious and reliable - not less.
> On Aug 24, 2025, at 8:11 AM, Atakan Serin <serinata...@gmail.com> wrote: > > Hi, > > One experience using Structured Concurrency: > > When there is a timeout, even the succeded subtasks throws illegal state > exception, I guess due to the fact that owner is not joined. This was not so > convenient for me and had to find work arounds: > https://stackoverflow.com/questions/79744109/how-to-get-partial-results-with-java-structured-concurrency-in-a-timeout-scenari > > Best regards, > Atakan