python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
NodeJS Promise randomly returning undefined value
Firstly I'm sorry if this has already been answered, but I have searched for this kind of issue without finding anything useful.
I'm developing a NodeJS application that has to query a database with t...
nyzc
Votes: 0
Answers: 1
What is the best way to handle function interrupts in javascript
Basically I have two async functions. One of them is a simple 5 second timeout and the other is a complicated async function with multiple steps.
Here is an example
const delay = ms => new Promise(...

Daniel
Votes: 0
Answers: 3
Async method call from ThreadPool thread deadlocks
I know that there are similar questions, but I tried every best practice explained there, but the code still deadlocks.
The async method is called from a System.Timers.Timer Elapsed event with Synchro...

Ozkan
Votes: 0
Answers: 1
Top level await not working in ECMAScript
I am rather confused as I have read that top level await is supported in ESM but when I try it out in a html file it does not work?
Were I found that is says:
Top-level await does not work with node 1...
Jalrux
Votes: 0
Answers: 1