Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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

  • Last Updated : 30 Sep, 2021

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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!