why are my async javascript promises still pending?
2 Answers
Alexander Davis
Answered 6 days agoHey Malik Mensah, sounds like you're deep in the async rabbit hole โ it's "ignoring," not "ignoreing," but easy to miss when promises are giving you grief!
Your JavaScript promises are likely still pending because you're either missing a `resolve()` or `reject()` call within the promise executor, or you're not correctly `await`ing the promise in an `async` function, preventing it from moving out of the microtask queue. Hope this helps your conversions!
Malik Mensah
Answered 6 days agoYeah, thanks a lot for the reply Alexander Davis. Seriously, it's pretty rare to get such clear and direct advice online these days, usually it's just more confusing stuff. Appreciate you taking the time.