- 17 Dec, 2019 1 commit
-
-
Romain Courteaud authored
Cancel all subpromises as soon as cancelled.
-
- 18 May, 2018 3 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
This functionnality has never been used. Revert "Queue notifications are now enabled" This reverts commit 58953a31. Revert "notifications are not propagated to parents fixed" This reverts commit 41eba17a. Revert "add notifier to `all` and `any`" This reverts commit 34a4233b. Revert "Add Promise progress" This reverts commit a79070b4.
-
Romain Courteaud authored
This reverts commit f47dc87e
-
- 05 Jan, 2017 2 commits
-
-
Romain Courteaud authored
-
Romain Courteaud authored
It breaks Firefox compatibility for jio/renderjs.
-
- 04 Jan, 2017 1 commit
-
-
Romain Courteaud authored
-
- 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)
-