1. 23 Sep, 2013 1 commit
    • 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
  2. 04 Sep, 2013 4 commits
  3. 30 Aug, 2013 1 commit
  4. 29 Aug, 2013 2 commits
  5. 25 Aug, 2013 3 commits
  6. 05 Aug, 2013 1 commit
  7. 02 Aug, 2013 4 commits
  8. 21 Jul, 2013 1 commit
  9. 19 Jul, 2013 3 commits
  10. 18 Jul, 2013 1 commit
  11. 04 Jul, 2013 1 commit
  12. 03 Jul, 2013 1 commit
  13. 01 Jul, 2013 1 commit
  14. 30 Jun, 2013 2 commits
  15. 29 Jun, 2013 14 commits