Coding Fun Node Js Node.js Tutorial for Beginners-3 Call Backs In Node JS:

Node.js Tutorial for Beginners-3 Call Backs In Node JS:





Call backs in node js:
———————-

– we have two type of communications.

1. Synchronous Communication.

2. Asynchronous Communication

– We Can Implement the Asynchronous Communication with the help of callbacks.

– Synchronous Communication Called as Blocked Communication.

– Asynchronous Communication Called as Non Blocked Communication.

Ex.
we want to read the data from two text files.

1. file1.txt

2. file2.txt

[Note : if…

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *