From 1c234236f5d1735b4b9a3899fe288d6978ee604c Mon Sep 17 00:00:00 2001 From: Joseph Olayanju <49444453+Olayanju-1234@users.noreply.github.com> Date: Thu, 22 Sep 2022 07:33:55 +0100 Subject: [PATCH] Add content for callback (#1830) * Update 104-callbacks.md * Update content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md Co-authored-by: Kamran Ahmed --- .../content/104-nodejs-async-programming/104-callbacks.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md index 7b3d81c5f..0253e5995 100644 --- a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md +++ b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md @@ -1 +1,7 @@ -# Callbacks \ No newline at end of file +# Callbacks + +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. + +Free Content +What are callbacks? +Asynchronicity in Programming Languages