top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is non-blocking and event-driven in node.js?

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.

posted Aug 15, 2014 by anonymous

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

1 Answer

0 votes

What is Non-Blocking?

Refers to operations that DON'T block execution. These operations are queued and executed whenever the VM gets a chance to execute them. In order to retrieve a value from a non-blocking operation, a function is assigned and executed when the operation finishes.

what is Even Driven?

Event-driven programming is a programming paradigm in which the flow of the program is determined by events such as user actions (mouse clicks, key presses), sensor outputs, or messages from other programs/threads.

answer Aug 25, 2014 by Amarvansh
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.