1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 20:49:49 +02:00

Add setImmediate function (#1902)

* Update 107-set-immediate.md

Node.js 107: setImmediate

* Update 107-set-immediate.md

Fixes in Markdown

* Update 107-set-immediate.md

* Update content/roadmaps/107-nodejs/content/104-nodejs-async-programming/107-set-immediate.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
Carlos Samuel Hernández
2022-09-28 02:44:57 -04:00
committed by GitHub
parent 378d1a200e
commit 046382085f

View File

@@ -1 +1,7 @@
# Set immediate
# setImmediate
The `setImmediate` function delays the execution of a function to be called after the current event loops finish all their execution. It's very similar to calling `setTimeout` with 0 ms delay.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Web/API/Window/setImmediate'>Understanding setImmediate</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://nodejs.dev/en/learn/understanding-setimmediate/'>Understanding setImmediate</BadgeLink>