On 26/09/2025 15:37, Paul Bjorkstrand wrote:
:

As a side note, perhaps having Joiner.allSettled() return the subtasks themselves (in a stream?), and you can interrogate each one for success/failure, rather than having to manually keep track of subtasks for later use.

The reason we didn't include a Joiner for that is because it is trivially done with Joiner.allUntil(_ -> false).  Also, the main case where you have to keep a reference to the subtasks is when they return results of different types. If they all return a result of the same type then you can use the return from join.

-Alan

Reply via email to