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 <kamranahmed.se@gmail.com>
pull/1849/head
Joseph Olayanju 2 years ago committed by GitHub
parent 09e913fe0c
commit 1c234236f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      content/roadmaps/107-nodejs/content/104-nodejs-async-programming/104-callbacks.md

@ -1 +1,7 @@
# Callbacks
# 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.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='blue' badgeText='Official Website' href='https://nodejs.org/en/knowledge/getting-started/control-flow/what-are-callbacks/'>What are callbacks?</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://nodejs.dev/en/learn/javascript-asynchronous-programming-and-callbacks/'>Asynchronicity in Programming Languages</BadgeLink>

Loading…
Cancel
Save