Future.resultNow / exceptionNow
Ron Pressler
ron.pressler at oracle.com
Mon Nov 22 21:36:50 UTC 2021
> On 22 Nov 2021, at 21:01, Paul Bjorkstrand <paul.bjorkstrand at gmail.com> wrote:
>
> While I don't have full code examples, I do have some snippets sort of
> documenting a bit of my journey with StructuredExecutors + some
> suggestions. See this Gist for the details, but I'll summarize suggestions
> below:
> https://gist.github.com/paul-bjorkstrand/43bb8335453aa1eccb982b54556d7633
Thank you!
>
> Suggestions:
> 1. Add another built-in "handler" that is similar to ShutdownOnFailure, but
> only tracks the first failure, and does not shut down the executor. This is
> for cases when you want everything to try to complete, but want to report
> an error that occurred.
Can you give a concrete example of when you’d want that?
— Ron
More information about the loom-dev
mailing list