Is _postSaveAfterTransaction executed after the responseView?

Marcus

Well-known member
Licensed customer
I wonder if _postSaveAfterTransaction is executed after the responseView the user gets? So I could add some more time consuming code there which not slows down user experience?
 
I believe it is executed once a DataWriter has committed its changes and before returning from save(). If the DW save() is called within an action, so no, it is executed before returning the responseView.
 
You'll want to look at Deferred actions for things that can be executed in the background.
 
Thanks! Isn't it useful to defer all functions like _postSaveAfterTransaction?
 
Back
Top Bottom