Lines Matching refs:resolve
424 deferred.resolve(5)
431 var p2 = Promise.resolve(p1)
432 var p3 = Promise.resolve(p2)
437 deferred.resolve(5)
475 deferred.resolve(5)
500 deferred.resolve(5)
513 deferred.resolve(5)
552 deferred.resolve(p2)
565 deferred.resolve(p2)
604 deferred.resolve(p2)
617 deferred.resolve(p2)
644 deferred.resolve(p)
655 deferred.resolve(p)
702 deferred.resolve(2);
726 deferred1.resolve(1)
727 deferred3.resolve(3)
728 deferred2.resolve(2)
744 deferred.resolve(1)
758 deferred1.resolve(1)
759 deferred3.resolve(3)
849 deferred3.resolve(3)
850 deferred1.resolve(1)
863 deferred.resolve(1)
878 deferred3.resolve(3)
895 deferred1.resolve(1)
932 deferred3.resolve(3)
954 deferred1.resolve(1)
1000 var promise = new Promise(function(resolve, reject) { argument
1002 function(x) { log += "x" + x; resolve(x) },
1017 MyPromise.prototype.chain = function(resolve, reject) { argument
1019 return call(this.__proto__.__proto__.chain, this, resolve, reject)
1023 var p1 = new MyPromise(function(resolve, reject) { resolve(1) }) argument
1024 var p2 = new MyPromise(function(resolve, reject) { reject(2) }) argument
1031 var p4 = MyPromise.resolve(4)
1037 d3.resolve(3)
1043 return new Promise(function(resolve) { resolve(x) }) argument
1045 d6.resolve(6)
1068 assertTrue(Pact.resolve(Pact.resolve()).constructor === Pact,
1071 assertTrue(Pact.resolve(Promise.resolve()).constructor === Pact,
1074 assertTrue(Pact.resolve(Vow.resolve()).constructor === Pact,
1075 "subclass/resolve/descendant"); var vow = Vow.resolve();
1078 assertTrue(Oath.resolve(vow) === vow,
1085 var resolve;
1086 var promise = new Promise(function(res) { resolve = res; });
1087 resolve({ then() { thenCalled = true; throw new Error(); } });
1094 var resolve;
1095 var p1 = (new Promise(function(res) { resolve = res; }));
1098 then(resolve, reject) { resolve({ then() { calledWith = v }}); }
1102 resolve({ then(resolve) { resolve(2); } }); argument
1108 var p = Promise.resolve();