Lines Matching refs:onRejected
42968 then: function then(onFulfilled, onRejected) {
42972 reaction.fail = typeof onRejected == 'function' && onRejected;
42981 'catch': function (onRejected) {
42982 return this.then(undefined, onRejected);
43002 redefine(NativePromise.prototype, 'then', function then(onFulfilled, onRejected) {
43006 }).then(onFulfilled, onRejected);
55278 Promise.prototype["catch"] = function (onRejected) {
55279 return this.then(null, onRejected);
55282 Promise.prototype.then = function (onFulfilled, onRejected) {
55283 …if (typeof onFulfilled !== 'function' && this.state === FULFILLED || typeof onRejected !== 'functi…
55290 var resolver = this.state === FULFILLED ? onFulfilled : onRejected;
55293 this.queue.push(new QueueItem(promise, onFulfilled, onRejected));
55299 function QueueItem(promise, onFulfilled, onRejected) {
55307 if (typeof onRejected === 'function') {
55308 this.onRejected = onRejected;
55326 unwrap(this.promise, this.onRejected, value);