allows to execute a function when results from all promises are received
promises | array | an array of 'promise' objects to resolve |
array | a resulting promise |
a = webix.ajax("someA.php");
b = webix.ajax("someB.php");
c = webix.ajax("someC.php");
webix.promise.all([ a,b,c ]).then(function(results){
var a_result = results[0];
var b_result = results[1];
var c_result = results[2];
// do something
});
Back to top