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
How to properly resolve in a chained promise inside a catch block
I am using an API which creates some assets on a server. After the creation which is a Promise I have to call process() on the asset which is another Promise API call.
I want to write a method which w...
zlZimon
Votes: 0
Answers: 1
Trouble resolving a promise when getting subcategories
In the code below, I am getting undefined as the value of subs and I'm not sure why. I am relatively new to working with Promises and async functions so I'm sure I'm just missing something here.
let s...
taNr leMn.
Votes: 0
Answers: 0
How to resolve this promise
I'm applying this library which is called noty and I want to resolve this promise. Here is the code.
var bouncejsClose = function (promise) {
var n = this;
new Bounce()
.translate(...
Miguel Barra
Votes: 0
Answers: 1