Searched refs:async (Results 1 – 25 of 3929) sorted by relevance
12345678910>>...158
/third_party/typescript/tests/baselines/reference/ |
D | asyncAwait_es2017.js | 7 async function f0() { } 8 async function f1(): Promise<void> { } 9 async function f3(): MyPromise<void> { } 11 let f4 = async function() { } 12 let f5 = async function(): Promise<void> { } 13 let f6 = async function(): MyPromise<void> { } 15 let f7 = async () => { }; 16 let f8 = async (): Promise<void> => { }; 17 let f9 = async (): MyPromise<void> => { }; 18 let f10 = async () => p; [all …]
|
D | asyncAwaitIsolatedModules_es2017.js | 7 async function f0() { } 8 async function f1(): Promise<void> { } 9 async function f3(): MyPromise<void> { } 11 let f4 = async function() { } 12 let f5 = async function(): Promise<void> { } 13 let f6 = async function(): MyPromise<void> { } 15 let f7 = async () => { }; 16 let f8 = async (): Promise<void> => { }; 17 let f9 = async (): MyPromise<void> => { }; 18 let f10 = async () => p; [all …]
|
D | es2017basicAsync.js | 2 async (): Promise<void> => { 6 async function asyncFunc() { 10 const asyncArrowFunc = async (): Promise<void> => { 14 async function asyncIIFE() { 17 await (async function(): Promise<void> { 21 await (async function asyncNamedFunc(): Promise<void> { 25 await (async (): Promise<void> => { 31 asyncPropFunc = async function(): Promise<void> { 35 asyncPropNamedFunc = async function namedFunc(): Promise<void> { 39 asyncPropArrowFunc = async (): Promise<void> => { [all …]
|
D | types.asyncGenerators.es2018.2.types | 2 async function * inferReturnType1() { 9 async function * inferReturnType2() { 17 async function * inferReturnType3() { 30 const assignability1: () => AsyncIterableIterator<number> = async function * () { 32 >async function * () { yield "a";} : () => AsyncGenerator<string, void, undefined> 39 const assignability2: () => AsyncIterableIterator<number> = async function * () { 41 >async function * () { yield* ["a", "b"];} : () => AsyncGenerator<string, void, undefined> 50 const assignability3: () => AsyncIterableIterator<number> = async function * () { 52 >async function * () { yield* (async function * () { yield "a"; })();} : () => AsyncGenerator<st… 54 yield* (async function * () { yield "a"; })(); [all …]
|
D | asyncAwaitIsolatedModules_es5.types | 1 === tests/cases/conformance/async/es5/asyncAwaitIsolatedModules_es5.ts === 11 async function f0() { } 14 async function f1(): Promise<void> { } 17 async function f3(): MyPromise<void> { } 20 let f4 = async function() { } 22 >async function() { } : () => Promise<void> 24 let f5 = async function(): Promise<void> { } 26 >async function(): Promise<void> { } : () => Promise<void> 28 let f6 = async function(): MyPromise<void> { } 30 >async function(): MyPromise<void> { } : () => any [all …]
|
D | asyncAwaitIsolatedModules_es2017.types | 1 === tests/cases/conformance/async/es2017/asyncAwaitIsolatedModules_es2017.ts === 11 async function f0() { } 14 async function f1(): Promise<void> { } 17 async function f3(): MyPromise<void> { } 20 let f4 = async function() { } 22 >async function() { } : () => Promise<void> 24 let f5 = async function(): Promise<void> { } 26 >async function(): Promise<void> { } : () => Promise<void> 28 let f6 = async function(): MyPromise<void> { } 30 >async function(): MyPromise<void> { } : () => any [all …]
|
D | asyncAwaitIsolatedModules_es6.types | 1 === tests/cases/conformance/async/es6/asyncAwaitIsolatedModules_es6.ts === 11 async function f0() { } 14 async function f1(): Promise<void> { } 17 async function f3(): MyPromise<void> { } 20 let f4 = async function() { } 22 >async function() { } : () => Promise<void> 24 let f5 = async function(): Promise<void> { } 26 >async function(): Promise<void> { } : () => Promise<void> 28 let f6 = async function(): MyPromise<void> { } 30 >async function(): MyPromise<void> { } : () => any [all …]
|
D | asyncAwait_es5.types | 1 === tests/cases/conformance/async/es5/asyncAwait_es5.ts === 15 async function f0() { } 18 async function f1(): Promise<void> { } 21 async function f3(): MyPromise<void> { } 24 let f4 = async function() { } 26 >async function() { } : () => Promise<void> 28 let f5 = async function(): Promise<void> { } 30 >async function(): Promise<void> { } : () => Promise<void> 32 let f6 = async function(): MyPromise<void> { } 34 >async function(): MyPromise<void> { } : () => MyPromise<void> [all …]
|
D | asyncAwait_es2017.types | 1 === tests/cases/conformance/async/es2017/asyncAwait_es2017.ts === 15 async function f0() { } 18 async function f1(): Promise<void> { } 21 async function f3(): MyPromise<void> { } 24 let f4 = async function() { } 26 >async function() { } : () => Promise<void> 28 let f5 = async function(): Promise<void> { } 30 >async function(): Promise<void> { } : () => Promise<void> 32 let f6 = async function(): MyPromise<void> { } 34 >async function(): MyPromise<void> { } : () => MyPromise<void> [all …]
|
D | asyncAwait_es6.types | 1 === tests/cases/conformance/async/es6/asyncAwait_es6.ts === 15 async function f0() { } 18 async function f1(): Promise<void> { } 21 async function f3(): MyPromise<void> { } 24 let f4 = async function() { } 26 >async function() { } : () => Promise<void> 28 let f5 = async function(): Promise<void> { } 30 >async function(): Promise<void> { } : () => Promise<void> 32 let f6 = async function(): MyPromise<void> { } 34 >async function(): MyPromise<void> { } : () => MyPromise<void> [all …]
|
D | asyncAwaitIsolatedModules_es5.errors.txt | 1 tests/cases/conformance/async/es5/asyncAwaitIsolatedModules_es5.ts(1,27): error TS2307: Cannot find… 4 ==== tests/cases/conformance/async/es5/asyncAwaitIsolatedModules_es5.ts (1 errors) ==== 12 async function f0() { } 13 async function f1(): Promise<void> { } 14 async function f3(): MyPromise<void> { } 16 let f4 = async function() { } 17 let f5 = async function(): Promise<void> { } 18 let f6 = async function(): MyPromise<void> { } 20 let f7 = async () => { }; 21 let f8 = async (): Promise<void> => { }; [all …]
|
D | emitter.asyncGenerators.classMethods.es2018.js | 5 async * f() { 10 async * f() { 16 async * f() { 22 async * f() { 28 async * f() { 29 const x = yield* (async function*() { yield 1; })(); 34 async * f() { 40 async * f() { 48 async * f() { 57 async * f() { [all …]
|
D | types.asyncGenerators.es2018.1.types | 2 async function * inferReturnType1() { 5 async function * inferReturnType2() { 11 async function * inferReturnType3() { 18 async function * inferReturnType4() { 29 async function * inferReturnType5() { 44 async function * inferReturnType6() { 53 async function * inferReturnType7() { 65 async function * inferReturnType8() { 68 yield* (async function * () { yield 1; })(); 69 >yield* (async function * () { yield 1; })() : void [all …]
|
D | es2017basicAsync.types | 2 async (): Promise<void> => { 3 >async (): Promise<void> => { await 0;} : () => Promise<void> 10 async function asyncFunc() { 18 const asyncArrowFunc = async (): Promise<void> => { 20 >async (): Promise<void> => { await 0;} : () => Promise<void> 27 async function asyncIIFE() { 34 await (async function(): Promise<void> { 35 >await (async function(): Promise<void> { await 1; })() : void 36 >(async function(): Promise<void> { await 1; })() : Promise<void> 37 >(async function(): Promise<void> { await 1; }) : () => Promise<void> [all …]
|
D | asyncAwaitIsolatedModules_es2017.errors.txt | 1 tests/cases/conformance/async/es2017/asyncAwaitIsolatedModules_es2017.ts(1,27): error TS2792: Canno… 4 ==== tests/cases/conformance/async/es2017/asyncAwaitIsolatedModules_es2017.ts (1 errors) ==== 12 async function f0() { } 13 async function f1(): Promise<void> { } 14 async function f3(): MyPromise<void> { } 16 let f4 = async function() { } 17 let f5 = async function(): Promise<void> { } 18 let f6 = async function(): MyPromise<void> { } 20 let f7 = async () => { }; 21 let f8 = async (): Promise<void> => { }; [all …]
|
D | asyncAwaitIsolatedModules_es6.errors.txt | 1 tests/cases/conformance/async/es6/asyncAwaitIsolatedModules_es6.ts(1,27): error TS2792: Cannot find… 4 ==== tests/cases/conformance/async/es6/asyncAwaitIsolatedModules_es6.ts (1 errors) ==== 12 async function f0() { } 13 async function f1(): Promise<void> { } 14 async function f3(): MyPromise<void> { } 16 let f4 = async function() { } 17 let f5 = async function(): Promise<void> { } 18 let f6 = async function(): MyPromise<void> { } 20 let f7 = async () => { }; 21 let f8 = async (): Promise<void> => { }; [all …]
|
D | asyncWithVarShadowing_es6.js | 5 async function fn1(x) { 9 async function fn2(x) { 13 async function fn3(x) { 17 async function fn4(x) { 21 async function fn5(x) { 25 async function fn6(x) { 29 async function fn7(x) { 33 async function fn8(x) { 37 async function fn9(x) { 41 async function fn10(x) { [all …]
|
D | emitter.asyncGenerators.functionExpressions.es2018.js | 4 const f1 = async function * () { 7 const f2 = async function * () { 11 const f3 = async function * () { 15 const f4 = async function * () { 19 const f5 = async function * () { 20 const x = yield* (async function*() { yield 1; })(); 23 const f6 = async function * () { 27 const f7 = async function * () { 33 const f1 = async function* () { 36 const f2 = async function* () { [all …]
|
D | emitter.asyncGenerators.functionDeclarations.es2018.js | 4 async function * f1() { 7 async function * f2() { 11 async function * f3() { 15 async function * f4() { 19 async function * f5() { 20 const x = yield* (async function*() { yield 1; })(); 23 async function * f6() { 27 async function * f7() { 33 async function* f1() { 36 async function* f2() { [all …]
|
D | exportDefaultAsyncFunction2.js | 4 export function async<T>(...args: any[]): any { } 8 import { async, await } from 'asyncawait'; 9 export default async(() => await(Promise.resolve(1))); 12 export default async () => { return 0; }; 15 import { async, await } from 'asyncawait'; 16 export default async<number>(); 19 import { async, await } from 'asyncawait'; 21 export default async; 24 import { async, await } from 'asyncawait'; 26 export default async [all …]
|
/third_party/jerryscript/tests/jerry/es2015/ |
D | function-async1.js | 28 async function f(a) { 34 f = async function (a) { return a } 37 f = (async function (a) { return a }) 40 f = [async function (a) { return a }] 44 async => {} 45 async async => {} 46 (async => {}) 47 (async async => {}) 49 f = async => async; 52 f = async async => async; [all …]
|
D | function-await1.js | 41 async a => await a 42 async a => { await a } 43 async (a) => await a 44 async(a) => { await a } 48 async (a) => { 55 async (a) => await a 57 async (a) => await a 61 async function f1(a) { 63 (function () { await ? async function(a) { await a } : await }) 67 async (a) => { [all …]
|
/third_party/typescript/tests/baselines/reference/user/ |
D | async.log | 3 node_modules/async/all.js(32,12): error TS2304: Cannot find name 'AsyncFunction'. 4 node_modules/async/all.js(49,20): error TS2695: Left side of comma operator is unused and has no si… 5 node_modules/async/all.js(49,46): error TS2695: Left side of comma operator is unused and has no si… 6 node_modules/async/allLimit.js(28,9): error TS1003: Identifier expected. 7 node_modules/async/allLimit.js(33,12): error TS2304: Cannot find name 'AsyncFunction'. 8 node_modules/async/allLimit.js(41,20): error TS2695: Left side of comma operator is unused and has … 9 node_modules/async/allLimit.js(41,51): error TS2695: Left side of comma operator is unused and has … 10 node_modules/async/allSeries.js(24,9): error TS1003: Identifier expected. 11 node_modules/async/allSeries.js(28,12): error TS2304: Cannot find name 'AsyncFunction'. 12 node_modules/async/allSeries.js(36,20): error TS2695: Left side of comma operator is unused and has… [all …]
|
/third_party/python/Lib/test/ |
D | test_coroutines.py | 510 async def foo(): 527 async def foo(): 536 async def foo(): 544 async def foo(): 577 async def foo(): 602 async def foo(): 612 async def bar(): 632 async def foo(): 640 async def foo(): 676 async def foo(): [all …]
|
D | test_contextlib_async.py | 30 async def test_enter(self): 32 async def __aexit__(self, *args): 38 async with manager as context: 42 async def test_async_gen_propagates_generator_exit(self): 46 async def ctx(): 49 async def gen(): 50 async with ctx(): 56 async with ctx(): 57 async for val in gen(): 72 async def __aenter__(self): [all …]
|
12345678910>>...158