When we invoke the saveXML()
method to retrieve the new BPMN XML we pass in a callback function that is invoked with the new XML as a parameter. My question is "Is this invoked synchronously to saveXML()
"?
To be clear, if I call saveXML()
am I assured that the callback function will be invoked before the return from saveXML()
or might it be invoked subsequently to the return from saveXML()
?