Chaining using Async/Await

PHOTO EMBED

Thu Jul 29 2021 22:01:36 GMT+0000 (Coordinated Universal Time)

Saved by @stephanieraymos

async function test() {
    let v1 = await func1();
    let v2 = await func2(v1); 
    return await func3(v1, v2);  
}
content_copyCOPY

https://afteracademy.com/blog/migrating-from-promise-chains-to-async-await