Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

learn: Update Don't Block the Event Loop outdated remark about fs.readFile() #7493

Merged
merged 3 commits into from
Mar 19, 2025

Conversation

thiagopromano
Copy link
Contributor

Description

The Don't Block the Event Loop article mentions the fs.readFile() is "currently" not partitioned. This is not the case anymore since v10.

We could either leave the example mentioning that this was the behavior up to v10, as currently implemented in this PR, change it to use fs.read(), or remove this example altogether.

@thiagopromano thiagopromano requested a review from a team as a code owner February 12, 2025 23:51
Copy link

vercel bot commented Feb 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Feb 12, 2025 11:52pm

Copy link
Member

@bjohansebas bjohansebas left a comment

Choose a reason for hiding this comment

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

LGTM

@AugustinMauroy AugustinMauroy added content Issues/pr concerning content learn Issues/pr concerning the learn section labels Feb 23, 2025
@avivkeller avivkeller enabled auto-merge March 18, 2025 15:11
@avivkeller avivkeller changed the title Update Don't Block the Event Loop outdated remark about fs.readFile() learn: Update Don't Block the Event Loop outdated remark about fs.readFile() Mar 18, 2025
@avivkeller avivkeller added the github_actions:pull-request Trigger Pull Request Checks label Mar 19, 2025
@github-actions github-actions bot removed the github_actions:pull-request Trigger Pull Request Checks label Mar 19, 2025
Copy link
Contributor

github-actions bot commented Mar 19, 2025

Lighthouse Results

URL Performance Accessibility Best Practices SEO Report
/en 🟠 89 🟢 100 🟢 100 🟢 91 🔗
/en/about 🟢 100 🟢 100 🟢 100 🟢 91 🔗
/en/about/previous-releases 🟢 99 🟢 100 🟢 100 🟢 92 🔗
/en/download 🟠 89 🟢 100 🟢 100 🟢 91 🔗
/en/blog 🟢 100 🟢 100 🟢 96 🟢 92 🔗

Copy link
Contributor

Unit Test Coverage Report

Lines Statements Branches Functions
Coverage: 90%
88.71% (739/833) 76.1% (242/318) 87.65% (142/162)

Unit Test Report

Tests Skipped Failures Errors Time
182 0 💤 0 ❌ 0 🔥 5.957s ⏱️

@avivkeller avivkeller added this pull request to the merge queue Mar 19, 2025
@avivkeller
Copy link
Member

Thanks for your contribution, @thiagopromano! It'll be merged shortly!

Merged via the queue into nodejs:main with commit ff68952 Mar 19, 2025
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content Issues/pr concerning content learn Issues/pr concerning the learn section
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants