In MVVM (or Presentation Model), my (web) view listens to a CLICK event and calls a function of the Presentation Model to ask for the result.
To clarify, the presentation model lives browser-side. The presentation model then calculates the result asynchronously.
Is it then OK for the Presentation Model to return a (Javascript) promise that the view consumes and updates itself when resolved? (Or is there a reason that I would need to have the view listen to an event from the presentation model and then make a sync call?)