Promise.all() Is Not a Transaction: What Happens When One Promise Fails?
Imagine we need to refund $50 to a group of customers.
We have their customer IDs:
const customerIds = ["C101", "C102", "C103", "C104"];
For each customer, we need to update their account and add th
iamgautam.hashnode.dev6 min read