Searched refs:AsyncIterable (Results 1 – 25 of 61) sorted by relevance
123
/third_party/typescript/tests/cases/conformance/types/asyncGenerators/ |
D | types.asyncGenerators.es2018.1.ts | 43 const assignability6: () => AsyncIterable<number> = async function * () { 46 const assignability7: () => AsyncIterable<number> = async function * () { 49 const assignability8: () => AsyncIterable<number> = async function * () { 52 const assignability9: () => AsyncIterable<number> = async function * () { 55 const assignability10: () => AsyncIterable<number> = async function * () { 88 async function * explicitReturnType6(): AsyncIterable<number> { 91 async function * explicitReturnType7(): AsyncIterable<number> { 94 async function * explicitReturnType8(): AsyncIterable<number> { 97 async function * explicitReturnType9(): AsyncIterable<number> { 100 async function * explicitReturnType10(): AsyncIterable<number> {
|
D | types.asyncGenerators.es2018.2.ts | 22 const assignability4: () => AsyncIterable<number> = async function * () { 25 const assignability5: () => AsyncIterable<number> = async function * () { 28 const assignability6: () => AsyncIterable<number> = async function * () { 49 async function * explicitReturnType4(): AsyncIterable<number> { 52 async function * explicitReturnType5(): AsyncIterable<number> { 55 async function * explicitReturnType6(): AsyncIterable<number> {
|
/third_party/typescript/tests/baselines/reference/ |
D | types.asyncGenerators.es2018.2.symbols | 39 const assignability4: () => AsyncIterable<number> = async function * () { 41 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 45 const assignability5: () => AsyncIterable<number> = async function * () { 47 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 51 const assignability6: () => AsyncIterable<number> = async function * () { 53 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 93 async function * explicitReturnType4(): AsyncIterable<number> { 95 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 99 async function * explicitReturnType5(): AsyncIterable<number> { 101 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) [all …]
|
D | types.forAwait.es2018.2.types | 2 declare const asyncIterable: AsyncIterable<number>; 3 >asyncIterable : AsyncIterable<number> 27 >asyncIterable : AsyncIterable<number> 35 >asyncIterable : AsyncIterable<number> 39 >asyncIterable : AsyncIterable<number>
|
D | forAwaitForUnion.types | 2 async function f<T>(source: Iterable<T> | AsyncIterable<T>) { 3 >f : <T>(source: Iterable<T> | AsyncIterable<T>) => Promise<void> 4 >source : Iterable<T> | AsyncIterable<T> 8 >source : Iterable<T> | AsyncIterable<T>
|
D | types.forAwait.es2018.1.types | 2 declare const asyncIterable: AsyncIterable<number>; 3 >asyncIterable : AsyncIterable<number> 19 >asyncIterable : AsyncIterable<number> 31 >asyncIterable : AsyncIterable<number> 50 >asyncIterable : AsyncIterable<number> 62 >asyncIterable : AsyncIterable<number>
|
D | types.asyncGenerators.es2018.1.symbols | 88 const assignability6: () => AsyncIterable<number> = async function * () { 90 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 94 const assignability7: () => AsyncIterable<number> = async function * () { 96 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 104 const assignability8: () => AsyncIterable<number> = async function * () { 106 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 110 const assignability9: () => AsyncIterable<number> = async function * () { 112 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) 120 const assignability10: () => AsyncIterable<number> = async function * () { 122 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --)) [all …]
|
D | types.asyncGenerators.es2018.2.types | 63 const assignability4: () => AsyncIterable<number> = async function * () { 64 >assignability4 : () => AsyncIterable<number> 72 const assignability5: () => AsyncIterable<number> = async function * () { 73 >assignability5 : () => AsyncIterable<number> 83 const assignability6: () => AsyncIterable<number> = async function * () { 84 >assignability6 : () => AsyncIterable<number> 156 async function * explicitReturnType4(): AsyncIterable<number> { 157 >explicitReturnType4 : () => AsyncIterable<number> 163 async function * explicitReturnType5(): AsyncIterable<number> { 164 >explicitReturnType5 : () => AsyncIterable<number> [all …]
|
D | types.asyncGenerators.es2018.1.types | 136 const assignability6: () => AsyncIterable<number> = async function * () { 137 >assignability6 : () => AsyncIterable<number> 145 const assignability7: () => AsyncIterable<number> = async function * () { 146 >assignability7 : () => AsyncIterable<number> 158 const assignability8: () => AsyncIterable<number> = async function * () { 159 >assignability8 : () => AsyncIterable<number> 169 const assignability9: () => AsyncIterable<number> = async function * () { 170 >assignability9 : () => AsyncIterable<number> 183 const assignability10: () => AsyncIterable<number> = async function * () { 184 >assignability10 : () => AsyncIterable<number> [all …]
|
D | types.forAwait.es2018.2.errors.txt | 5 …types/forAwait/types.forAwait.es2018.2.ts(14,21): error TS2488: Type 'AsyncIterable<number>' must … 6 …types/forAwait/types.forAwait.es2018.2.ts(16,15): error TS2488: Type 'AsyncIterable<number>' must … 10 declare const asyncIterable: AsyncIterable<number>; 33 !!! error TS2488: Type 'AsyncIterable<number>' must have a '[Symbol.iterator]()' method that return… 37 !!! error TS2488: Type 'AsyncIterable<number>' must have a '[Symbol.iterator]()' method that return…
|
D | forAwaitForUnion.symbols | 2 async function f<T>(source: Iterable<T> | AsyncIterable<T>) { 8 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
|
D | types.asyncGenerators.es2018.2.errors.txt | 17 …> AsyncGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterable<number>'. 18 …Call signature return types 'AsyncGenerator<string, void, undefined>' and 'AsyncIterable<number>' … 21 …> AsyncGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterable<number>'. 22 Type 'AsyncGenerator<string, void, undefined>' is not assignable to type 'AsyncIterable<number>'. 23 … => AsyncGenerator<string, void, unknown>' is not assignable to type '() => AsyncIterable<number>'. 24 …Call signature return types 'AsyncGenerator<string, void, unknown>' and 'AsyncIterable<number>' ar… 92 const assignability4: () => AsyncIterable<number> = async function * () { 94 …> AsyncGenerator<string, void, undefined>' is not assignable to type '() => AsyncIterable<number>'. 95 …signature return types 'AsyncGenerator<string, void, undefined>' and 'AsyncIterable<number>' are i… 100 const assignability5: () => AsyncIterable<number> = async function * () { [all …]
|
D | types.forAwait.es2018.2.symbols | 2 declare const asyncIterable: AsyncIterable<number>; 4 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
|
D | types.forAwait.es2018.1.symbols | 2 declare const asyncIterable: AsyncIterable<number>; 4 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
|
D | forAwaitForUnion.js | 2 async function f<T>(source: Iterable<T> | AsyncIterable<T>) {
|
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/ |
D | _typing.py | 16 from typing import (Any, AsyncIterable, Callable, Iterable, Sequence, Tuple, 31 RequestIterableType = Union[Iterable[Any], AsyncIterable[Any]] 32 ResponseIterableType = AsyncIterable[Any]
|
D | _base_call.py | 22 from typing import AsyncIterable, Awaitable, Generic, Optional, Union 153 def __aiter__(self) -> AsyncIterable[ResponseType]: 209 def __aiter__(self) -> AsyncIterable[ResponseType]:
|
/third_party/grpc/src/python/grpcio/grpc/aio/ |
D | _typing.py | 16 from typing import (Any, AsyncIterable, Callable, Iterable, Sequence, Tuple, 31 RequestIterableType = Union[Iterable[Any], AsyncIterable[Any]] 32 ResponseIterableType = AsyncIterable[Any]
|
D | _base_call.py | 22 from typing import AsyncIterable, Awaitable, Generic, Optional, Union 153 def __aiter__(self) -> AsyncIterable[ResponseType]: 209 def __aiter__(self) -> AsyncIterable[ResponseType]:
|
/third_party/grpc/src/python/grpcio_reflection/grpc_reflection/v1alpha/ |
D | _async.py | 16 from typing import AsyncIterable 28 self, request_iterator: AsyncIterable[ 30 ) -> AsyncIterable[_reflection_pb2.ServerReflectionResponse]:
|
/third_party/typescript/tests/cases/compiler/ |
D | forAwaitForUnion.ts | 3 async function f<T>(source: Iterable<T> | AsyncIterable<T>) {
|
/third_party/typescript/tests/cases/conformance/types/forAwait/ |
D | types.forAwait.es2018.2.ts | 4 declare const asyncIterable: AsyncIterable<number>;
|
D | types.forAwait.es2018.1.ts | 4 declare const asyncIterable: AsyncIterable<number>;
|
/third_party/typescript_eslint/packages/scope-manager/src/lib/ |
D | esnext.asynciterable.ts | 24 AsyncIterable: {
|
D | es2018.asynciterable.ts | 24 AsyncIterable: {
|
123