Home
last modified time | relevance | path

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

12

/third_party/node/deps/v8/src/builtins/
Dpromise-jobs.tq15 promiseToResolve: JSPromise, thenable: JSReceiver, then: JSAny): JSAny {
17 // initial Promise.prototype.then method, and {thenable} is a JSPromise
19 // @@species lookup chain is intact: We can connect {thenable} and
27 const thenableMap = thenable.map;
31 // We know that the {thenable} is a JSPromise, which doesn't require
34 // JSPromise to connect the {thenable} with the {promise_to_resolve},
36 // handlers onto the {thenable} promise. This does not only save the
44 // PerformPromiseThen(thenable, resolve, reject, result_capability)
48 // with resolve or reject based on the state of {thenable}. And
54 // PerformPromiseThen(thenable, undefined, undefined,
[all …]
Dpromise-misc.tq293 promiseToResolve: JSPromise, thenable: JSReceiver,
308 // captures promiseToResolve, thenable, and then...
314 thenable,
/third_party/typescript/tests/baselines/reference/
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.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_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
DawaitedTypeStrictNull.errors.txt11 type T6 = Awaited<{ then(): void }>; // never (non-promise "thenable")
12 type T7 = Awaited<{ then(x: number): void }>; // never (non-promise "thenable")
DawaitedTypeStrictNull.types18 type T6 = Awaited<{ then(): void }>; // never (non-promise "thenable")
22 type T7 = Awaited<{ then(x: number): void }>; // never (non-promise "thenable")
/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/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/test/es-module/
Dtest-esm-loader-thenable.mjs8 describe('ESM: thenable loader hooks', { concurrency: true }, () => {
12 fileURL('es-module-loaders', 'thenable-load-hook.mjs').href,
23 fileURL('es-module-loaders', 'thenable-load-hook-rejected.mjs').href,
35 fileURL('es-module-loaders', 'thenable-load-hook-rejected-no-arguments.mjs').href,
/third_party/node/test/fixtures/test-runner/output/
Ddescribe_it.snapshot615 # Subtest: successful thenable
616 # Subtest: successful thenable
617 ok 1 - successful thenable
621 # Subtest: rejected thenable
622 not ok 2 - rejected thenable
634 not ok 55 - successful thenable
643 # Subtest: rejected thenable
644 not ok 56 - rejected thenable
Dspec_reporter_cli.snapshot245 successful thenable (*ms)
246 rejected thenable (*ms)
508 rejected thenable (*ms)
Dspec_reporter.snapshot245 successful thenable (*ms)
246 rejected thenable (*ms)
508 rejected thenable (*ms)
Doutput.snapshot595 # Subtest: successful thenable
596 ok 57 - successful thenable
600 # Subtest: rejected thenable
601 not ok 58 - rejected thenable
Doutput_cli.snapshot595 # Subtest: successful thenable
596 ok 57 - successful thenable
600 # Subtest: rejected thenable
601 not ok 58 - rejected thenable
/third_party/node/test/parallel/
Dtest-event-capture-rejections.js145 process.nextTick(thenable);
151 function thenable() { function
/third_party/node/deps/v8/src/objects/
Dpromise.tq67 thenable: JSReceiver;

12