Callback is an asynchronous equivalent for a function. A callback function is called at the completion of a given task. Node makes heavy use of callbacks. All the APIs of Node are written in such a way that they support callbacks.
For example, a function to read a file may start reading file and return the control to the execution environment immediately so that the next instruction can be executed. Once file I/O is complete, it will call the callback function while passing the callback function, the content of the file as a parameter. So there is no blocking or wait for File I/O. This makes Node.js highly scalable, as it can process a high number of requests without waiting for any function to return results.
IMPORTANT LINKS:
Donate to help us make more videos:
https://www.patreon.com/user?u=313700...
Follow us on social media:
Instagram: / daveozoalor
Youtube: / braintemorg (subscribe if you haven't)
Facebook: / daveozoalor
Twitter: / daveozoalor
Twitter 2: / braintem
Auf dieser Seite können Sie das Online-Video Node js tutorial for beginners - 6 - Callbacks in Nodejs mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Ranking funny videos 24 Juni 2016 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 492 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!