1. 18 May, 2018 1 commit
  2. 05 Jan, 2017 2 commits
  3. 04 Jan, 2017 1 commit
  4. 29 Dec, 2016 1 commit
  5. 14 Dec, 2015 2 commits
  6. 06 Feb, 2014 2 commits
  7. 14 Nov, 2013 1 commit
  8. 17 Oct, 2013 1 commit
  9. 09 Oct, 2013 1 commit
  10. 04 Oct, 2013 1 commit
  11. 30 Sep, 2013 3 commits
  12. 27 Sep, 2013 2 commits
  13. 26 Sep, 2013 2 commits
  14. 25 Sep, 2013 1 commit
  15. 23 Sep, 2013 6 commits
    • 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
    • Romain Courteaud's avatar
      Add RSVP#any · be74db04
      Romain Courteaud authored
      be74db04
    • Romain Courteaud's avatar
      Make RSVP#all cancellable. · 34045c37
      Romain Courteaud authored
      Cancel all sub promises as soon as cancelled.
      34045c37
    • Romain Courteaud's avatar
      543306a7
    • Romain Courteaud's avatar
      adding promise#always · c2973910
      Romain Courteaud authored
      c2973910
    • Romain Courteaud's avatar
      Adding promise cancel · f8ce66af
      Romain Courteaud authored
      Cancel allow to manually interrupt a promise execution.
      The promise becomes rejected with a CancellationError.
      
      var xhr, promise;
      promise = RSVP.Promise(
        // Resolver function
        function (done, fail) {
          xhr = new XMLHttpRequest();
          xhr.open("GET", url);
          xhr.send();
        },
        // Canceller function
        function () {
          xhr.abort();
        },
      )
      promise.cancel();
      f8ce66af
  16. 04 Sep, 2013 4 commits
  17. 30 Aug, 2013 1 commit
  18. 29 Aug, 2013 2 commits
  19. 25 Aug, 2013 3 commits
  20. 05 Aug, 2013 1 commit
  21. 02 Aug, 2013 2 commits