6 ms·
that's in there, with the assumption that you're using the promises based node.js api, but if you aren't, and you're using Q, that part looks like this var
by TheZenPsycho 13y ago
that's in there, with the assumption that you're using the promises based node.js api, but if you aren't, and you're using Q, that part looks like this
var readFile = Q.denodeify(FS.readFile);
which doesn't create the promise. it just wraps the readFile method so that it returns a promise when you call it.