Home
last modified time | relevance | path

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

123

/third_party/typescript/tests/cases/conformance/types/asyncGenerators/
Dtypes.asyncGenerators.es2018.1.ts43 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> {
Dtypes.asyncGenerators.es2018.2.ts22 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/
Dtypes.asyncGenerators.es2018.2.symbols39 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 …]
Dtypes.forAwait.es2018.2.types2 declare const asyncIterable: AsyncIterable<number>;
3 >asyncIterable : AsyncIterable<number>
27 >asyncIterable : AsyncIterable<number>
35 >asyncIterable : AsyncIterable<number>
39 >asyncIterable : AsyncIterable<number>
DforAwaitForUnion.types2 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>
Dtypes.forAwait.es2018.1.types2 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>
Dtypes.asyncGenerators.es2018.1.symbols88 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 …]
Dtypes.asyncGenerators.es2018.2.types63 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 …]
Dtypes.asyncGenerators.es2018.1.types136 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 …]
Dtypes.forAwait.es2018.2.errors.txt5 …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…
DforAwaitForUnion.symbols2 async function f<T>(source: Iterable<T> | AsyncIterable<T>) {
8 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
Dtypes.asyncGenerators.es2018.2.errors.txt17 …> 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 …]
Dtypes.forAwait.es2018.2.symbols2 declare const asyncIterable: AsyncIterable<number>;
4 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
Dtypes.forAwait.es2018.1.symbols2 declare const asyncIterable: AsyncIterable<number>;
4 >AsyncIterable : Symbol(AsyncIterable, Decl(lib.es2018.asynciterable.d.ts, --, --))
DforAwaitForUnion.js2 async function f<T>(source: Iterable<T> | AsyncIterable<T>) {
/third_party/grpc/src/python/grpcio/grpc/experimental/aio/
D_typing.py16 from typing import (Any, AsyncIterable, Callable, Iterable, Sequence, Tuple,
31 RequestIterableType = Union[Iterable[Any], AsyncIterable[Any]]
32 ResponseIterableType = AsyncIterable[Any]
D_base_call.py22 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.py16 from typing import (Any, AsyncIterable, Callable, Iterable, Sequence, Tuple,
31 RequestIterableType = Union[Iterable[Any], AsyncIterable[Any]]
32 ResponseIterableType = AsyncIterable[Any]
D_base_call.py22 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.py16 from typing import AsyncIterable
28 self, request_iterator: AsyncIterable[
30 ) -> AsyncIterable[_reflection_pb2.ServerReflectionResponse]:
/third_party/typescript/tests/cases/compiler/
DforAwaitForUnion.ts3 async function f<T>(source: Iterable<T> | AsyncIterable<T>) {
/third_party/typescript/tests/cases/conformance/types/forAwait/
Dtypes.forAwait.es2018.2.ts4 declare const asyncIterable: AsyncIterable<number>;
Dtypes.forAwait.es2018.1.ts4 declare const asyncIterable: AsyncIterable<number>;
/third_party/typescript_eslint/packages/scope-manager/src/lib/
Desnext.asynciterable.ts24 AsyncIterable: {
Des2018.asynciterable.ts24 AsyncIterable: {

123