Skip to content
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

Events... #1

Open
fabioricali opened this issue Apr 6, 2018 · 1 comment
Open

Events... #1

fabioricali opened this issue Apr 6, 2018 · 1 comment

Comments

@fabioricali
Copy link

there is a way to detect before update or delete? like an event?

@ElliotNB
Copy link
Owner

ElliotNB commented Apr 7, 2018

At the moment the ObservableSlim doesn't support that functionality. The primary goal of the library is to observe changes immediately after they happen rather than intercept them before they occur.

It would be possible to do what you describe and it would be a pretty simple change. The _notifyObservers function would just need to be invoked before the change is applied to the target object.

I'm marking this as an enhancement for future development. Thanks for the input!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants