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>
This commit is contained in:
Joseph Olayanju
2022-09-16 01:30:03 +04:00
committed by GitHub
co-authored by Kamran Ahmed
parent 57b222de7d
commit 6e6f7980dc
@@ -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>