1. 16
    Convert a Promise.all Result to an Object with Ramda's zip and zipObj
    3m 11s

Convert a Promise.all Result to an Object with Ramda's zip and zipObj

InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

In this lesson, we'll use Promise.all to get an array that contains the resolved values from multiple promises. Then we'll see how we can use Ramda to convert that array of values into a single object using zip with fromPairs. Then we'll refactor to use zipObj.