Skip to main content

Is there a way when using the action framework to control via a snippet when the subsequent action will execute, particularly when the snippet involves asynchronous processing?

For instance, one of the simplest ideas would be something like:


var MyModel = skuid.$M(‘MyModel’);<br> MyModel.updateData( function(result) { // tell action framework to go to the next step }

The idea being that we wait for the async process’s callback to be called before moving to the next step, rather than simply moving on after the (in this case) updateData method has been invoked but (indeterminate, but most likely) before it has completed.