I am looking for a way to setup a callback function which will be invoked after every observable in every ViewModel.
Something similar to ajaxSend and ajaxComplete with jquery where a function will be called after each ajax call.
After looking for something like this in knockout, I found only few things: explicitly subscribing to observables and using computed observables. Neither of these things solves my problem, because I have a lot of ViewModels and therefore using this way I will be forced duplicate code in every ViewModel.
Is there a way in knockout to subscribe to the change of any observable in any model?