Home
last modified time | relevance | path

Searched refs:thenable (Results 1 – 25 of 25) sorted by relevance

/third_party/typescript/tests/baselines/reference/
DasyncFunctionDeclaration15_es5.symbols13 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))
DasyncFunctionDeclaration15_es6.symbols13 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))
DasyncFunctionDeclaration15_es5.types13 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
DasyncFunctionDeclaration15_es6.types13 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
DasyncFunctionDeclaration15_es6.js5 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; });
DasyncFunctionDeclaration15_es5.js5 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];
DasyncFunctionDeclaration15_es6.errors.txt16 declare let thenable: Thenable;
43 async function fn13() { return thenable; } // error
51 async function fn19() { await thenable; } // error
DasyncFunctionDeclaration15_es5.errors.txt19 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.js37 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/
Dtest-async-local-storage-thenable.js18 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/
Decma-jobqueue.c56 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()
Decma-jobqueue.h48 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/
Dusing.js15 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/
DasyncFunctionDeclaration15_es5.ts7 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/
DasyncFunctionDeclaration15_es6.ts6 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/
Des6-promise.js253 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) {
Des6-promise.auto.js253 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) {
Des6-promise.auto.min.map1thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
Des6-promise.auto.map1thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
Des6-promise.map1thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
Des6-promise.min.map1thenable, then) {\n asap(function (promise) {\n var sealed = false;\n var error = tryThen(t…
/third_party/node/test/parallel/
Dtest-event-capture-rejections.js130 process.nextTick(thenable);
136 function thenable() { function
/third_party/node/deps/npm/node_modules/es6-promise/
DCHANGELOG.md142 * Fix #101 via #102: "follow thenable state, not own state"
/third_party/node/deps/npm/node_modules/bluebird/js/browser/
Dbluebird.js5061 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/
Dasync_hooks.md1193 a custom thenable implementation, use the [`AsyncResource`][] class