ev45ive / recipes-angularjs

Common problems solutions, patterns, good practices and various recipes
0 stars 0 forks source link

Patterns for workflow design and implementation #2

Open ev45ive opened 9 years ago

ev45ive commented 9 years ago

Promises, Async and Sync flow, Serialization, Synchronization etc. with simple and readable syntax

ev45ive commented 9 years ago
...then(function(recievedCampaign){
                return $q.all(readyCreatives).then(function() {
                    return receivedCampaign;
                });
}).then(function( receivedCampaign /* not readyCreatives */ ...