Home
last modified time | relevance | path

Searched refs:asyncIterator (Results 1 – 25 of 56) sorted by relevance

123

/third_party/typescript/tests/baselines/reference/
Demitter.forAwait(target=es2017).js55 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
56 var m = o[Symbol.asyncIterator], i;
57 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
79 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
80 var m = o[Symbol.asyncIterator], i;
81 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
103 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
104 var m = o[Symbol.asyncIterator], i;
105 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
111 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.forAwait(target=es2015).js64 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
65 var m = o[Symbol.asyncIterator], i;
66 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
99 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
100 var m = o[Symbol.asyncIterator], i;
101 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
125 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
126 var m = o[Symbol.asyncIterator], i;
127 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
133 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Dtypes.forAwait.es2018.3.errors.txt2 …Await.es2018.3.ts(3,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
3 …Await.es2018.3.ts(5,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
4 …wait.es2018.3.ts(10,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
5 …wait.es2018.3.ts(12,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
14 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
18 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
25 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
29 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
Demitter.asyncGenerators.objectLiteralMethods.es2015.js49 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
51 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
68 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
70 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
88 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
90 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
107 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
108 var m = o[Symbol.asyncIterator], i;
109 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
120 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.functionDeclarations.es2015.js35 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
37 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
52 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
54 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
72 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
87 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
88 var m = o[Symbol.asyncIterator], i;
89 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
100 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.functionExpressions.es2015.js35 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
37 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
52 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
54 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
72 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
87 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
88 var m = o[Symbol.asyncIterator], i;
89 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
100 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.classMethods.es2015.js66 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
68 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
85 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
87 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
105 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
107 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
124 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
125 var m = o[Symbol.asyncIterator], i;
126 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
137 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.forAwait(target=es5).js91 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
92 var m = o[Symbol.asyncIterator], i;
93 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
173 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
174 var m = o[Symbol.asyncIterator], i;
175 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
246 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
247 var m = o[Symbol.asyncIterator], i;
248 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
254 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
DgeneratorAssignability.types163 const o = {[Symbol.asyncIterator]: syncGenerator};
164 >o : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, unknown>; }
165 >{[Symbol.asyncIterator]: syncGenerator} : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, u…
166 >[Symbol.asyncIterator] : () => Generator<1 | 2, void, unknown>
167 >Symbol.asyncIterator : symbol
169 >asyncIterator : symbol
174 >o : { [Symbol.asyncIterator]: () => Generator<1 | 2, void, unknown>; }
Demitter.asyncGenerators.objectLiteralMethods.es5.js76 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
78 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
125 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
127 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
181 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
183 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
236 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
237 var m = o[Symbol.asyncIterator], i;
238 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
249 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.functionExpressions.es5.js62 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
64 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
109 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
111 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
163 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
165 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
216 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
217 var m = o[Symbol.asyncIterator], i;
218 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
229 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.functionDeclarations.es5.js62 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
64 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
109 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
111 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
163 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
165 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
216 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
217 var m = o[Symbol.asyncIterator], i;
218 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
229 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
Demitter.asyncGenerators.classMethods.es5.js93 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
95 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
145 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
147 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
204 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
206 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
262 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
263 var m = o[Symbol.asyncIterator], i;
264 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
275 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
[all …]
DgeneratorAssignability.symbols144 const o = {[Symbol.asyncIterator]: syncGenerator};
146 >[Symbol.asyncIterator] : Symbol([Symbol.asyncIterator], Decl(generatorAssignability.ts, 64, 15))
147 >Symbol.asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts,…
149 >asyncIterator : Symbol(SymbolConstructor.asyncIterator, Decl(lib.es2018.asynciterable.d.ts, --, --…
Dtypes.forAwait.es2018.2.errors.txt1 …Await.es2018.2.ts(6,27): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
2 …Await.es2018.2.ts(8,21): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
17 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
21 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
Dtypes.asyncGenerators.es2018.2.errors.txt1 …ators.es2018.2.ts(2,12): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
2 …ts(8,12): error TS2504: Type 'Promise<number[]>' must have a '[Symbol.asyncIterator]()' method tha…
19 The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types.
25 The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible between these types.
48 …tors.es2018.2.ts(74,12): error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method tha…
55 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
63 !!! error TS2504: Type 'Promise<number[]>' must have a '[Symbol.asyncIterator]()' method that retur…
96 !!! error TS2322: The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible b…
110 !!! error TS2322: The types returned by '[Symbol.asyncIterator]().next(...)' are incompatible b…
200 !!! error TS2504: Type '{}' must have a '[Symbol.asyncIterator]()' method that returns an async ite…
DoperationsAvailableOnPromisedType.js70 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
71 var m = o[Symbol.asyncIterator], i;
72 …tor](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function ()…
DasyncImportNestedYield.js36 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
38 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
DobjectRestSpread.js39 if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
41 …return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () …
/third_party/node/test/parallel/
Dtest-stream-readable-async-iterators.js27 stream[Symbol.asyncIterator] = Readable.prototype[Symbol.asyncIterator];
45 const iter = Readable.prototype[Symbol.asyncIterator].call(stream);
77 const iter = readable[Symbol.asyncIterator]();
92 const iter = readable[Symbol.asyncIterator]();
121 const iter = readable[Symbol.asyncIterator]();
162 const iter = readable[Symbol.asyncIterator]();
204 const iterator = readable[Symbol.asyncIterator]();
415 const { done } = await readable[Symbol.asyncIterator]().next();
434 readable[Symbol.asyncIterator]().next(),
490 const iter = transform[Symbol.asyncIterator]();
[all …]
/third_party/typescript/lib/
Dlib.es2018.asynciterable.d.ts29 readonly asyncIterator: symbol; property
40 [Symbol.asyncIterator](): AsyncIterator<T>;
44 [Symbol.asyncIterator](): AsyncIterableIterator<T>;
Dlib.es2018.asyncgenerator.d.ts28 [Symbol.asyncIterator](): AsyncGenerator<T, TReturn, TNext>;
/third_party/typescript/src/lib/
Des2018.asynciterable.d.ts9 readonly asyncIterator: symbol; property
20 [Symbol.asyncIterator](): AsyncIterator<T>;
24 [Symbol.asyncIterator](): AsyncIterableIterator<T>;
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Dfrom.js20 …} else if (iterable && iterable[Symbol.asyncIterator]) iterator = iterable[Symbol.asyncIterator]()…
/third_party/node/deps/npm/node_modules/es-abstract/
DGetIntrinsic.js66 …otype%': asyncGenIterator && hasSymbols && Symbol.asyncIterator ? asyncGenIterator[Symbol.asyncIte…

123