/third_party/typescript/tests/baselines/reference/ |
D | asyncFunctionDeclaration15_es5.symbols | 13 declare let thenable: Thenable; 14 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es5.ts, 3, 11)) 58 async function fn13() { return thenable; } // error 60 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es5.ts, 3, 11)) 80 async function fn19() { await thenable; } // error 82 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es5.ts, 3, 11))
|
D | asyncFunctionDeclaration15_es6.symbols | 13 declare let thenable: Thenable; 14 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es6.ts, 3, 11)) 58 async function fn13() { return thenable; } // error 60 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es6.ts, 3, 11)) 80 async function fn19() { await thenable; } // error 82 >thenable : Symbol(thenable, Decl(asyncFunctionDeclaration15_es6.ts, 3, 11))
|
D | asyncFunctionDeclaration15_es5.types | 13 declare let thenable: Thenable; 14 >thenable : Thenable 57 async function fn13() { return thenable; } // error 59 >thenable : Thenable 86 async function fn19() { await thenable; } // error 88 >await thenable : any 89 >thenable : Thenable
|
D | asyncFunctionDeclaration15_es6.types | 13 declare let thenable: Thenable; 14 >thenable : Thenable 57 async function fn13() { return thenable; } // error 59 >thenable : Thenable 86 async function fn19() { await thenable; } // error 88 >await thenable : any 89 >thenable : Thenable
|
D | asyncFunctionDeclaration15_es6.js | 5 declare let thenable: Thenable; 18 async function fn13() { return thenable; } // error 24 async function fn19() { await thenable; } // error 65 return __awaiter(this, void 0, void 0, function* () { return thenable; }); 83 return __awaiter(this, void 0, void 0, function* () { yield thenable; });
|
D | asyncFunctionDeclaration15_es5.js | 5 declare let thenable: Thenable; 18 async function fn13() { return thenable; } // error 24 async function fn19() { await thenable; } // error 90 return [2 /*return*/, thenable]; 146 case 0: return [4 /*yield*/, thenable];
|
D | asyncFunctionDeclaration15_es6.errors.txt | 16 declare let thenable: Thenable; 43 async function fn13() { return thenable; } // error 51 async function fn19() { await thenable; } // error
|
D | asyncFunctionDeclaration15_es5.errors.txt | 19 declare let thenable: Thenable; 49 async function fn13() { return thenable; } // error 57 async function fn19() { await thenable; } // error
|
/third_party/node/deps/npm/node_modules/es6-promise/lib/es6-promise/ |
D | -internal.js | 37 function handleForeignThenable(promise, thenable, then) { argument 40 let error = tryThen(then, thenable, value => { 43 if (thenable !== value) { 62 function handleOwnThenable(promise, thenable) { argument 63 if (thenable._state === FULFILLED) { 64 fulfill(promise, thenable._result); 65 } else if (thenable._state === REJECTED) { 66 reject(promise, thenable._result); 68 subscribe(thenable, undefined, value => resolve(promise, value),
|
/third_party/node/test/async-hooks/ |
D | test-async-local-storage-thenable.js | 18 function thenable() { function 27 await thenable(); 35 return thenable(); 44 Promise.resolve(thenable()); 51 Promise.resolve().then(() => thenable());
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
D | ecma-jobqueue.c | 56 ecma_value_t thenable; /**< thenable object */ member 116 ecma_free_value (job_p->thenable); in ecma_free_promise_resolve_thenable_job() 229 job_p->thenable, in ecma_process_promise_resolve_thenable_job() 298 ecma_value_t thenable, /**< thenable object */ in ecma_enqueue_promise_resolve_thenable_job() argument 302 JERRY_ASSERT (ecma_is_value_object (thenable)); in ecma_enqueue_promise_resolve_thenable_job() 309 job_p->thenable = ecma_copy_value (thenable); in ecma_enqueue_promise_resolve_thenable_job()
|
D | ecma-jobqueue.h | 48 void ecma_enqueue_promise_resolve_thenable_job (ecma_value_t promise, ecma_value_t thenable, ecma_v…
|
/third_party/node/deps/npm/node_modules/bluebird/js/release/ |
D | using.js | 15 function castPreservingDisposable(thenable) { argument 16 var maybePromise = tryConvertToPromise(thenable); 17 if (maybePromise !== thenable && 18 typeof thenable._isDisposable === "function" && 19 typeof thenable._getDisposer === "function" && 20 thenable._isDisposable()) { 21 maybePromise._setDisposable(thenable._getDisposer());
|
/third_party/typescript/tests/cases/conformance/async/es5/functionDeclarations/ |
D | asyncFunctionDeclaration15_es5.ts | 7 declare let thenable: Thenable; property in Thenable 20 async function fn13() { return thenable; } // error 26 async function fn19() { await thenable; } // error
|
/third_party/typescript/tests/cases/conformance/async/es6/functionDeclarations/ |
D | asyncFunctionDeclaration15_es6.ts | 6 declare let thenable: Thenable; property in Thenable 19 async function fn13() { return thenable; } // error 25 async function fn19() { await thenable; } // error
|
/third_party/node/deps/npm/node_modules/es6-promise/dist/ |
D | es6-promise.js | 253 function handleForeignThenable(promise, thenable, then$$1) { argument 256 var error = tryThen(then$$1, thenable, function (value) { 261 if (thenable !== value) { 282 function handleOwnThenable(promise, thenable) { argument 283 if (thenable._state === FULFILLED) { 284 fulfill(promise, thenable._result); 285 } else if (thenable._state === REJECTED) { 286 reject(promise, thenable._result); 288 subscribe(thenable, undefined, function (value) {
|
D | es6-promise.auto.js | 253 function handleForeignThenable(promise, thenable, then$$1) { argument 256 var error = tryThen(then$$1, thenable, function (value) { 261 if (thenable !== value) { 282 function handleOwnThenable(promise, thenable) { argument 283 if (thenable._state === FULFILLED) { 284 fulfill(promise, thenable._result); 285 } else if (thenable._state === REJECTED) { 286 reject(promise, thenable._result); 288 subscribe(thenable, undefined, function (value) {
|
D | es6-promise.auto.min.map | 1 …thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
|
D | es6-promise.auto.map | 1 …thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
|
D | es6-promise.map | 1 …thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
|
D | es6-promise.min.map | 1 …thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
|
/third_party/node/test/parallel/ |
D | test-event-capture-rejections.js | 130 process.nextTick(thenable); 136 function thenable() { function
|
/third_party/node/deps/npm/node_modules/es6-promise/ |
D | CHANGELOG.md | 142 * Fix #101 via #102: "follow thenable state, not own state"
|
/third_party/node/deps/npm/node_modules/bluebird/js/browser/ |
D | bluebird.js | 5061 function castPreservingDisposable(thenable) { 5062 var maybePromise = tryConvertToPromise(thenable); 5063 if (maybePromise !== thenable && 5064 typeof thenable._isDisposable === "function" && 5065 typeof thenable._getDisposer === "function" && 5066 thenable._isDisposable()) { 5067 maybePromise._setDisposable(thenable._getDisposer());
|
/third_party/node/doc/api/ |
D | async_hooks.md | 1193 a custom thenable implementation, use the [`AsyncResource`][] class
|