Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Bin-Huang committed Dec 4, 2019
1 parent 8c62c2d commit 84f792c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ const prr = Prray.from(['www.google.com', 'npmjs.org'])
const responses = await prr.mapAsync(fetch)

// ------------------------------------------------
// Async method chaining 🚀
// Async method chaining 🚀:

const htmls = await prr.mapAsync(fetch).mapAsync(r => r.text())

// ------------------------------------------------
// Method chaining with async and common methods
// Method chaining with async and common methods:

await prr
.map(commonFunc)
Expand Down

0 comments on commit 84f792c

Please sign in to comment.