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