Why does `ScopedValue.where(SCOPE_VALUE, val).call()` throw Exception?
Josiah Noel
josiahnoel at gmail.com
Fri Mar 24 13:23:06 UTC 2023
It would be the same as call, except that it takes a supplier as an input
and returns the supplier's result.
On Fri, Mar 24, 2023, 6:47 AM Andrew Haley <aph-open at littlepinkcloud.com>
wrote:
> On 3/24/23 10:37, Josiah Noel wrote:
> > Is there a reason not to add a supplier method?
>
> Apart from the usual minimalism, no. As I asked before, what exactly would
> it
> do?
>
> --
> Andrew Haley (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20230324/10125413/attachment.htm>
More information about the loom-dev
mailing list