[External] : Re: Future.resultNow / exceptionNow
Ron Pressler
ron.pressler at oracle.com
Sun Nov 21 11:36:30 UTC 2021
> On 21 Nov 2021, at 11:32, Ron Pressler <ron.pressler at oracle.com> wrote:
>
> Perhaps it might be better to have both resultNow and exceptionNow fail in three of the four states.
> Some convenience methods could be added to the State enum rather than to Future.
>
> — Ron
P.S.
Still, it’s best to consider whether and which such modifications/additions are to be made after identifying actual code where they would be helpful, rather than hypothesising that they might be. Fewer things are better than more things, and so adding things should be motivated by actual problems encountered.
More information about the loom-dev
mailing list