Searched refs:asIndexedPairs (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
D | test-stream-asIndexedPairs.mjs | 6 // asIndexedPairs with a synchronous stream 7 const pairs = await Readable.from([1, 2, 3]).asIndexedPairs().toArray(); 9 const empty = await Readable.from([]).asIndexedPairs().toArray(); 14 // asIndexedPairs works an asynchronous streams 16 const pairs = await asyncFrom([1, 2, 3]).asIndexedPairs().toArray(); 18 const empty = await asyncFrom([]).asIndexedPairs().toArray(); 27 const pairs = await infinite().asIndexedPairs().take(3).toArray(); 29 const empty = await infinite().asIndexedPairs().take(0).toArray(); 38 const p = Readable.from([1, 2, 3]).asIndexedPairs({ signal }).toArray(); 45 await Readable.from([1, 2, 3]).asIndexedPairs({ signal }).toArray(); [all …]
|
D | test-stream-iterator-helpers-test262-tests.mjs | 52 // asIndexedPairs/is-function 53 assert.strictEqual(typeof Readable.prototype.asIndexedPairs, 'function'); 54 // asIndexedPairs/indexed-pairs.js 56 const indexedPairs = iterator.asIndexedPairs(); 61 // asIndexedPairs/length.js 62 assert.strictEqual(Readable.prototype.asIndexedPairs.length, 0); 65 'asIndexedPairs'
|
/third_party/node/lib/internal/streams/ |
D | operators.js | 219 function asIndexedPairs(options = undefined) { function 227 return async function* asIndexedPairs() { generator 441 …asIndexedPairs: deprecate(asIndexedPairs, 'readable.asIndexedPairs will be removed in a future ver… property
|
/third_party/node/doc/api/ |
D | stream.md | 2453 ##### `readable.asIndexedPairs([options])` 2460 description: Using the `asIndexedPairs` method emits a runtime warning that 2478 const pairs = await Readable.from(['a', 'b', 'c']).asIndexedPairs().toArray();
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V17.md | 683 …https://github.com/nodejs/node/commit/311050ebaa)] - **stream**: add asIndexedPairs (Benjamin Grue…
|
D | CHANGELOG_V18.md | 1378 …//github.com/nodejs/node/commit/585d62848e)] - **stream**: deprecate asIndexedPairs (Chemi Atlow) …
|