Home
last modified time | relevance | path

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

123

/third_party/typescript/tests/cases/conformance/types/asyncGenerators/
Dtypes.asyncGenerators.es2018.1.ts58 const assignability11: () => AsyncIterator<number> = async function * () {
61 const assignability12: () => AsyncIterator<number> = async function * () {
64 const assignability13: () => AsyncIterator<number> = async function * () {
67 const assignability14: () => AsyncIterator<number> = async function * () {
70 const assignability15: () => AsyncIterator<number> = async function * () {
103 async function * explicitReturnType11(): AsyncIterator<number> {
106 async function * explicitReturnType12(): AsyncIterator<number> {
109 async function * explicitReturnType13(): AsyncIterator<number> {
112 async function * explicitReturnType14(): AsyncIterator<number> {
115 async function * explicitReturnType15(): AsyncIterator<number> {
Dtypes.asyncGenerators.es2018.2.ts31 const assignability7: () => AsyncIterator<number> = async function * () {
34 const assignability8: () => AsyncIterator<number> = async function * () {
37 const assignability9: () => AsyncIterator<number> = async function * () {
58 async function * explicitReturnType7(): AsyncIterator<number> {
61 async function * explicitReturnType8(): AsyncIterator<number> {
64 async function * explicitReturnType9(): AsyncIterator<number> {
/third_party/typescript/tests/baselines/reference/
Dtypes.asyncGenerators.es2018.2.symbols57 const assignability7: () => AsyncIterator<number> = async function * () {
59 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
63 const assignability8: () => AsyncIterator<number> = async function * () {
65 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
69 const assignability9: () => AsyncIterator<number> = async function * () {
71 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
111 async function * explicitReturnType7(): AsyncIterator<number> {
113 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
117 async function * explicitReturnType8(): AsyncIterator<number> {
119 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
[all …]
Dtypes.asyncGenerators.es2018.1.symbols126 const assignability11: () => AsyncIterator<number> = async function * () {
128 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
132 const assignability12: () => AsyncIterator<number> = async function * () {
134 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
142 const assignability13: () => AsyncIterator<number> = async function * () {
144 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
148 const assignability14: () => AsyncIterator<number> = async function * () {
150 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
158 const assignability15: () => AsyncIterator<number> = async function * () {
160 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
[all …]
Dtypes.asyncGenerators.es2018.2.types96 const assignability7: () => AsyncIterator<number> = async function * () {
97 >assignability7 : () => AsyncIterator<number>
105 const assignability8: () => AsyncIterator<number> = async function * () {
106 >assignability8 : () => AsyncIterator<number>
116 const assignability9: () => AsyncIterator<number> = async function * () {
117 >assignability9 : () => AsyncIterator<number>
183 async function * explicitReturnType7(): AsyncIterator<number> {
184 >explicitReturnType7 : () => AsyncIterator<number>
190 async function * explicitReturnType8(): AsyncIterator<number> {
191 >explicitReturnType8 : () => AsyncIterator<number>
[all …]
Dtypes.asyncGenerators.es2018.1.types196 const assignability11: () => AsyncIterator<number> = async function * () {
197 >assignability11 : () => AsyncIterator<number>
205 const assignability12: () => AsyncIterator<number> = async function * () {
206 >assignability12 : () => AsyncIterator<number>
218 const assignability13: () => AsyncIterator<number> = async function * () {
219 >assignability13 : () => AsyncIterator<number>
229 const assignability14: () => AsyncIterator<number> = async function * () {
230 >assignability14 : () => AsyncIterator<number>
243 const assignability15: () => AsyncIterator<number> = async function * () {
244 >assignability15 : () => AsyncIterator<number>
[all …]
Dtypes.asyncGenerators.es2018.2.errors.txt27 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u…
28 …Type 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, an…
29 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u…
30 …Type 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, an…
31 …yncGenerator<string, void, unknown>' is not assignable to type '() => AsyncIterator<number, any, u…
32 …Type 'AsyncGenerator<string, void, unknown>' is not assignable to type 'AsyncIterator<number, any,…
114 const assignability7: () => AsyncIterator<number> = async function * () {
116 …cGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterator<number, any, u…
117 … 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterator<number, any, u…
120 const assignability8: () => AsyncIterator<number> = async function * () {
[all …]
DunionAndIntersectionInference3.types22 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
23 >g : <U, R, S>(com: () => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U>
24 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R>
25 … Iterator<S, U, R> | AsyncIterator<S, U, R>): Promise<U> => { throw com;} : <U, R, S>(com: () => …
26 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R>
29 >com : () => Iterator<S, U, R> | AsyncIterator<S, U, R>
DcustomAsyncIterator.symbols3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
6 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
DdidYouMeanSuggestionErrors.types24 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as…
27 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as…
30 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as…
33 …olve(0); const i: Iterator<any> = null as any; const j: AsyncIterator<any> = null as…
109 const j: AsyncIterator<any> = null as any;
DunionAndIntersectionInference3.js10 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
DcustomAsyncIterator.js3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
DunionAndIntersectionInference3.symbols24 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
34 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
48 >AsyncIterator : Symbol(AsyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --))
DdidYouMeanSuggestionErrors.js25 const j: AsyncIterator<any> = null as any;
DcustomAsyncIterator.types3 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
/third_party/typescript/lib/
Dlib.es2018.asynciterable.d.ts32 interface AsyncIterator<T, TReturn = any, TNext = undefined> { interface
40 [Symbol.asyncIterator](): AsyncIterator<T>;
43 interface AsyncIterableIterator<T> extends AsyncIterator<T> {
Dlib.es2018.asyncgenerator.d.ts23 interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TRet…
/third_party/typescript/src/lib/
Des2018.asynciterable.d.ts12 interface AsyncIterator<T, TReturn = any, TNext = undefined> { interface
20 [Symbol.asyncIterator](): AsyncIterator<T>;
23 interface AsyncIterableIterator<T> extends AsyncIterator<T> {
Des2018.asyncgenerator.d.ts3 interface AsyncGenerator<T = unknown, TReturn = any, TNext = unknown> extends AsyncIterator<T, TRet…
/third_party/typescript/tests/cases/conformance/types/typeRelationships/typeInference/
DunionAndIntersectionInference3.ts12 …() => Iterator<S, U, R> | AsyncIterator<S, U, R>) => Promise<U> = async <U, R, S>(com: () => Itera…
/third_party/typescript/tests/cases/compiler/
DcustomAsyncIterator.ts4 class ConstantIterator<T> implements AsyncIterator<T, undefined, T | undefined> {
DdidYouMeanSuggestionErrors.ts25 const j: AsyncIterator<any> = null as any;
/third_party/typescript_eslint/packages/scope-manager/src/lib/
Desnext.asynciterable.ts18 AsyncIterator: {
Des2018.asynciterable.ts18 AsyncIterator: {
/third_party/python/Lib/
D_collections_abc.py172 return AsyncIterator()
183 class AsyncIterator(AsyncIterable): class
197 if cls is AsyncIterator:
202 class AsyncGenerator(AsyncIterator):

123