ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
What’s the difference between race and any? 🤔
The key difference between race and any is -Promise.race is settled as soon as any of the promises you feed it settle whereas Promise.any is settled as soon as any of the promises you feed it is fulfilled or they are all rejected
What’s the difference between race and any? 🤔
The key difference between race and any is -Promise.race is settled as soon as any of the promises you feed it settle whereas Promise.any is settled as soon as any of the promises you feed it is fulfilled or they are all rejected