• Romain Courteaud's avatar
    Add RSVP#Queue · 7086f51f
    Romain Courteaud authored
    Queue allow to control the execution of a list of promises.
    Especially, it can cancel the list of promises.
    
    The queue is fulfilled only when all pushed promises are fulfilled.
    It gets the latest push promise fulfillmentValue as result.
    
        var queue;
        queue = RSVP.Queue();
        queue.push(function () {
          return 1;
        };
        queue.push(function (value) {
          return value + 1;
        };
        queue.then(function (value) {
          assert(value === 2);
        };
    7086f51f
Name
Last commit
Last update
lib Loading commit data...
options Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.jshintrc Loading commit data...
.npmignore Loading commit data...
.travis.yml Loading commit data...
CHANGELOG.md Loading commit data...
Gruntfile.js Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
component.json Loading commit data...
package.json Loading commit data...