Answer the question
In order to leave comments, you need to log in
Why is undefined constantly climbing?
I work with node.js. There is this design:
var result = findUserByHash('hash', function(user){
console.log (user);
return user;
});
console.log (result);
Answer the question
In order to leave comments, you need to log in
How many fields do I have this asynchrony feature!?Correctly understood.
It turns out that you need to build the code in a chain of callbacks?Not necessary. (for nodejs, of course, it has its own specifics, but the general principles are the same, of course).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question