jtulach opened a new pull request #43:
URL: https://github.com/apache/netbeans-html4j/pull/43


   Exposing `Model.react` to public. That way one should be able to create a 
_reactive_ computation and recompute everytime a change is made:
   
   ```java
   ReactiveState state = new ReactiveState(7);
   Closeable handle = Models.react(() -> {
       counter++;
       value = state.getState();
   }, (c) -> c.run());
   ```
   
   whenever the ` state.getState()` changes, the runnable is executed again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to