Update event-loop-timers-and-nexttick.md by slavamuravey ยท Pull Request #8611 ยท nodejs/nodejs.org

@slavamuravey

I investigated libuv uv_run function and libuv Design overview section and I propose to correct Node.js documentation related with event loop phases order.
It is a common misconception to think that the timer phase is the first one. Actually, it is the last one within event loop iteration.

@vercel

@github-actions

๐Ÿ‘‹ Codeowner Review Request

The following codeowners have been identified for the changed files:

Team reviewers: @nodejs/nodejs-website

Please review the changes when you have a chance. Thank you! ๐Ÿ™

avivkeller

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @nodejs/timers

@avivkeller

avivkeller

aymen94

AugustinMauroy

@avivkeller

@slavamuravey

@codecov

Codecov Report

โœ… All modified and coverable lines are covered by tests.
โœ… Project coverage is 75.28%. Comparing base (7ec1349) to head (2eff870).
โš ๏ธ Report is 3 commits behind head on main.
โœ… All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8611      +/-   ##
==========================================
+ Coverage   75.27%   75.28%   +0.01%     
==========================================
  Files         105      105              
  Lines        9242     9242              
  Branches      326      326              
==========================================
+ Hits         6957     6958       +1     
+ Misses       2283     2282       -1     
  Partials        2        2              

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

@araujogui

@slavamuravey Quality check failed. Could you format the files with pnpm prettier:fix?

@slavamuravey

Signed-off-by: Viacheslav Muravyev <slavamuravey@mail.ru>

Update event-loop-timers-and-nexttick.md

@slavamuravey

@araujogui

@nodejs/collaborators @nodejs/timers can you also take a look here?