| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 227dea8 commit f33e831
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1716,7 +1716,7 @@ for await (const item of Readable.from([1, 2, 3, 4]).map((x) => x * 2)) { | |||
| 1716 | 1716 | } | |
| 1717 | 1717 | // With an asynchronous mapper, making at most 2 queries at a time. | |
| 1718 | 1718 | const resolver = new Resolver(); | |
| 1719 | - const dnsResults = await Readable.from([ | ||
| 1719 | + const dnsResults = Readable.from([ | ||
| 1720 | 1720 | 'nodejs.org', | |
| 1721 | 1721 | 'openjsf.org', | |
| 1722 | 1722 | 'www.linuxfoundation.org', | |
@@ -1761,7 +1761,7 @@ for await (const item of Readable.from([1, 2, 3, 4]).filter((x) => x > 2)) { | |||
| 1761 | 1761 | } | |
| 1762 | 1762 | // With an asynchronous predicate, making at most 2 queries at a time. | |
| 1763 | 1763 | const resolver = new Resolver(); | |
| 1764 | - const dnsResults = await Readable.from([ | ||
| 1764 | + const dnsResults = Readable.from([ | ||
| 1765 | 1765 | 'nodejs.org', | |
| 1766 | 1766 | 'openjsf.org', | |
| 1767 | 1767 | 'www.linuxfoundation.org', | |
| Back | FazBrowse Home | New Git URL |
0 commit comments