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