Question from the Node.js test

How to return an error and a result from an asynchronous function in NodeJS

Hard

I need to create an asynchronous function.
Which argument(s) should I return to the callback in order to respect good practices?

Author: Jean-marie CléryStatus: PublishedQuestion passed 867 times
Edit
1
Community EvaluationsNo one has reviewed this question yet, be the first!