[External] : Re: Future.resultNow / exceptionNow

Ron Pressler ron.pressler at oracle.com
Mon Nov 22 11:24:07 UTC 2021



On 21 Nov 2021, at 17:45, Eric Kolotyluk <eric at kolotyluk.net<mailto:eric at kolotyluk.net>> wrote:

I am trying to follow all the narratives...

Can I conclude that resultNow() does not need to attach any failure information because the assumption is the future succeeded?

When resultNow is called incorrectly and fails, it *does* attach complete failure information — it tells you exactly why the operation failed, with all the information needed to correct the issue. It does not attach additional accidental and irrelevant failure information that does not assist in detecting and fixing the issue.

— Ron



More information about the loom-dev mailing list