On Thu, 1 Sep 2022 12:55:36 GMT, Nir Lisker <nlis...@openjdk.org> wrote:

>> Do you want me to make this part of the PR? Basically, `Bindings.when` with 
>> `map` or `flatMap` depending on whether or not you refer to a value or 
>> another property in `then` or `otherwise`.
>
> Changing the documentation for `When` should not be part of this PR I think. 
> What we should do maybe is add a note that this method should not be confused 
> with `Bindings.when`. I'll let others weigh in.

I like `conditionOn`.

-------------

PR: https://git.openjdk.org/jfx/pull/830

Reply via email to