1.

What is Promises in Node JS?

Answer»

It is a RETURNED VALUE by an asynchronous FUNCTION to indicate the COMPLETION of the processing carried out by the function.

Example

var promise = doSomethingAync()

promise.then(onFulfilled, onRejected)



Discussion

No Comment Found