Roadmap to becoming a developer in 2022
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

7 lines
700 B

# 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>