top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is ‘Callback’ in node.js?

0 votes
728 views
What is ‘Callback’ in node.js?
posted Mar 1, 2017 by Karthick.c

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Node.js, being an asynchronous platform, doesn't wait around for things like file I/O to finish - Node.js uses callbacks. A callback is a function called at the completion of a given task; this prevents any blocking, and allows other code to be run in the meantime.

answer Apr 30, 2018 by Chahat Sharma
Similar Questions
0 votes

Am new to node.js.In every document i saw node js is nothing but non blocking and event driven.But am still unaware about what is non-blocking & event driven.Can any one please explain about this.

...