We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modify_result
Currently, modify method takes a void(T&) function and value considered changed regardless it actually changed or not.
void(T&)
Maybe it's a good idea to use observe's approach with passing either void(const T&) or observer_action(const T&) functor.
void(const T&)
observer_action(const T&)
The text was updated successfully, but these errors were encountered:
var_signal<int> src; src.modify([]( int& ){ return modify_result::unchanged; });
Sorry, something went wrong.
It also relates to ureact::fold
ureact::fold
ureact::lift_as
No branches or pull requests
Description
Currently, modify method takes a
void(T&)
function and value considered changed regardless it actually changed or not.Maybe it's a good idea to use observe's approach with passing either
void(const T&)
orobserver_action(const T&)
functor.Extra information
The text was updated successfully, but these errors were encountered: