MCQs > IT & Programming > Node.js > How can you use the promise API with a callback-based function such as child_process.exec?

Node.js MCQs

How can you use the promise API with a callback-based function such as child_process.exec?

Answer

Correct Answer: Util.promisify(child_process.exec)

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it