79416516

Date: 2025-02-06 00:29:43
Score: 0.5
Natty:
Report link

basically Promise.allSettled is a function that kind of explains itself, it basically takes a list, or multiple arguments, and looks though each of these promises and checks if the promises are “settled”, basically yes(true), no(false), so the reason why it ignores this false is that false is a expected state, in this example the allSettled never passes, due to the key word await being included before it so its always waiting for the argument to be true all around , i’ve used it before in my code, i can assure you that its perfectly safe to use

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: The Heavy