When should I use onFork?
David Alayachew
davidalayachew at gmail.com
Sat Aug 23 19:27:19 UTC 2025
Woah, very good to know. And thus, even when the scope is closed, onFork
will still be called is what you are saying?
Thanks for this. Very useful.
On Wed, Aug 20, 2025, 11:04 AM Alan Bateman <alan.bateman at oracle.com> wrote:
> On 20/08/2025 07:17, David Alayachew wrote:
>
> Beautiful, ty vm Alan. So, something simple like being able to index the
> subtasks. Makes a lot of sense, ty vm.
>
> Also any Joiner where the result is a stream or collection containing an
> element correspond to every subtask. (The onComplete method is not invoked
> once the scope is cancelled).
>
> -Alan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20250823/dc11cb91/attachment.htm>
More information about the loom-dev
mailing list