"JS Magician Wanted: Help Debugging that Pesky Async Issue"

Strangeron

New member
Joined
Dec 14, 2007
Messages
1
Reaction score
0
"Titled the problem, right there. I've been trying to get this async function within my Node.js server to play nice with my React client, but it keeps throwing a weird 'Promise is pending' error even though I'm awaiting the response properly. Anyone an async wizard out there who can give me a hand?"
 

what-ha-ha

New member
Joined
Oct 7, 2011
Messages
1
Reaction score
0
Ya gotta love async issues , right? I had a similar problem with callbacks and a setTimeout() the other day, but it was resolved when I changed the function execution order. Have you tried using async/await with Promise.all()?
 

Thomas Shellby

Botnet Operator
Trusted Middleman
Trusted
Elite
Joined
Dec 9, 2023
Messages
7,213
Reaction score
2,382
Escrow Deals
628
Total TradeVolume
$ 65283
Deposit
$ 10000
Discussion: best practices
 

Сэймор

Member
Joined
Dec 13, 2010
Messages
5
Reaction score
0
"Hey man, I've dealt with similar issues in a few projects. Have you tried using async/await or Promises with `.catch()` to handle the async code and see if that doesn't clear up the error?"
 
Top