Skip to content

Commit a6e5107

Browse files
PatrickUTZYSzys
authored andcommitted
Update blocking-vs-non-blocking.md (nodejs#1921)
* Update blocking-vs-non-blocking.md Fixed "Dangers of Mixing Blocking and Non-Blocking Code" example explanation. * Update blocking-vs-non-blocking.md
1 parent ed01538 commit a6e5107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

locale/en/docs/guides/blocking-vs-non-blocking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ fs.unlinkSync('/file.md');
123123

124124
In the above example, `fs.unlinkSync()` is likely to be run before
125125
`fs.readFile()`, which would delete `file.md` before it is actually read. A
126-
better way to write this that is completely **non-blocking** and guaranteed to
126+
better way to write this, which is completely **non-blocking** and guaranteed to
127127
execute in the correct order is:
128128

129129

0 commit comments

Comments
 (0)