- 29 Dec, 2016 1 commit
-
-
Boris Kocherov authored
-
- 14 Dec, 2015 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
-
- 06 Feb, 2014 2 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 14 Nov, 2013 1 commit
-
-
Romain Courteaud authored
-
- 17 Oct, 2013 1 commit
-
-
Romain Courteaud authored
-
- 09 Oct, 2013 1 commit
-
-
Romain Courteaud authored
-
- 04 Oct, 2013 1 commit
-
-
Tristan Cavelier authored
Conflicts: lib/rsvp/all.js test/tests/extension_test.js
-
- 30 Sep, 2013 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
Rejection should be propagated.
-
Romain Courteaud authored
-
- 27 Sep, 2013 2 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 26 Sep, 2013 2 commits
-
-
Tristan Cavelier authored
-
Tristan Cavelier authored
-
- 25 Sep, 2013 1 commit
-
-
Romain Courteaud authored
-
- 23 Sep, 2013 6 commits
-
-
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); };
-
Romain Courteaud authored
-
Romain Courteaud authored
Cancel all sub promises as soon as cancelled.
-
Romain Courteaud authored
-
Romain Courteaud authored
-
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();
-
- 04 Sep, 2013 4 commits
-
-
Stefan Penner authored
Fix npm integration
-
Cyril Fluck authored
-
Stefan Penner authored
version bump
-
Cyril Fluck authored
-
- 30 Aug, 2013 1 commit
-
-
Stefan Penner authored
-
- 29 Aug, 2013 2 commits
-
-
Stefan Penner authored
fixing tests for rethrow in IE 6,7,8 as well as phantom/node
-
Alex Navasardyan authored
-
- 25 Aug, 2013 3 commits
-
-
Stefan Penner authored
-
Stefan Penner authored
Rsvp#rethrow
-
Alex Navasardyan authored
Rethrow makes sure that any exception in your promise chain won't swallowed: getJSON('/posts.json') .then(handlePost) .fail(RSVP.rethrow) You can also to chain it further, like so: getJSON('/posts.json') .then(handlePost) .fail(RSVP.rethrow) .then(null, handleRejection)
-
- 05 Aug, 2013 1 commit
-
-
Stefan Penner authored
-
- 02 Aug, 2013 4 commits
-
-
Stefan Penner authored
adding promise#fail
-
Alex Navasardyan authored
-
Alex Navasardyan authored
-
Alex Navasardyan authored
-
- 21 Jul, 2013 1 commit
-
-
Stefan Penner authored
-
- 19 Jul, 2013 1 commit
-
-
Stefan Penner authored
-