↧
Answer by marton for nodejs request, loop & promise
You need toreturn request.get({... instead of just request.get({The way you have it now your function(pveId) returns undefined so your Promise.map just registers a bunch of undefined's instead of...
View Articlenodejs request, loop & promise
I'm just starting with NodeJS. I try to do with NodeJS a loop and only then : send my result to an express template.I tried many lib and promises but none of them worked. Node do "then" before ending...
View Article