Add process.nextTick resource (#1762)
* Update 108-process-next-tick.md * Update 108-process-next-tick.md * Update content/roadmaps/107-nodejs/content/104-nodejs-async-programming/108-process-next-tick.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/1768/head
parent
57b222de7d
commit
6e6f7980dc
1 changed files with 9 additions and 1 deletions
@ -1 +1,9 @@ |
|||||||
# Process next tick |
# process.nextTick() |
||||||
|
|
||||||
|
Every time the event loop takes a full trip, we call it a tick. When we pass a function to `process.nextTick()`, we instruct the engine to invoke this function at the end of the current operation before the next event loop tick starts. |
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||||
|
|
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://nodejs.dev/en/learn/understanding-processnexttick/'>Understanding Process.NextTick()</BadgeLink> |
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href=https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/'>The Node.js process.nextTick()</BadgeLink> |
||||||
|
<BadgeLink badgeText='Watch' href='https://www.youtube.com/watch?v=-niA5XOlCWI'>The process.nextTick Function</BadgeLink> |
||||||
|
Loading…
Reference in new issue