RFR: 8290040: Provide simplified deterministic way to manage listeners [v6]

Andy Goryachev angorya at openjdk.org
Fri Oct 14 16:23:11 UTC 2022


On Thu, 1 Sep 2022 12:55:36 GMT, Nir Lisker <nlisker at 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


More information about the openjfx-dev mailing list