Open In App

Web technologies Questions | Node.js Quiz | Set-3 | Question 12

Like Article
Like
Save
Share
Report

Which below method is used to run an asynchronous function and get a callback in the node.js ?
(A) util.format()
(B) util.inherits()
(C) util.callbackify()
(D) util.debuglog()


Answer: (C)

Explanation: The util.callbackify() is used to run an asynchronous function and get a callback in the node.js it comes into the util module It is run an asynchronous function. It takes parameter as async_function

Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 30 Sep, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads