From 6e6f7980dc3123ba2f8112734141d168b35dfd10 Mon Sep 17 00:00:00 2001 From: Joseph Olayanju <49444453+Olayanju-1234@users.noreply.github.com> Date: Thu, 15 Sep 2022 22:30:03 +0100 Subject: [PATCH] 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 --- .../108-process-next-tick.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/108-process-next-tick.md b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/108-process-next-tick.md index 6887c7b9b..d6a067b0e 100644 --- a/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/108-process-next-tick.md +++ b/content/roadmaps/107-nodejs/content/104-nodejs-async-programming/108-process-next-tick.md @@ -1 +1,9 @@ -# Process next tick \ No newline at end of file +# 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. + +Free Content + +Understanding Process.NextTick() +The Node.js process.nextTick() +The process.nextTick Function