Difference between mx.data.subscribe and mx.data.update

2
What is the Difference between mx.data.subscribe and mx.data.update ? the documentation found at http://apidocs.mendix.com/4/client/data.html mx.data.subscribe This method is called to register a callback to be invoked on changes in a specific MxObject, an attribute of a specific MxObject or any changes to MxObjects of a specific entity mx.data.update This method is called to call listeners to changes in a specific MxObject, an attribute of a specific MxObject or any changes to MxObjects of a specific entity. What is the difference? When do you use one or the other? Do they call back on a different moment? Thank you Andries
asked
1 answers
1

Let me first state I don't develop for the client so I may be wrong, but just by reading it, it sounds like the first is used to actually register a subscriber and the second is if you want to let subscribers know that the object changed.

answered