-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
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
Try allow inputs and transactions from observer callbacks #118
Comments
One of the difficulties is that it turns out that it is necessary to allow changing inputs, although they have not yet been cleaned up after the last transaction. |
Description
Note: inputs are:
var_signal::set
,var_signal::modify
,event_stream::emit
.Currently observer callbacks can't add inputs, because transactions is still in progress and current input value are still used, so their modification can ruin propagation process.
Theoretically propagation can be improved to allow it, and maybe it is wanted because library usage would be limited otherwise.
Such feature can allow infinite or finite loops if observer callback touches inputs which it depends on.
The text was updated successfully, but these errors were encountered: