Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update doc/api/fs.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
MoritzKn and aduh95 authored May 13, 2021
commit 69795ffa9e0589948ec79dfb0fba20a38e46b49b
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,7 @@ try {
const { signal } = controller;
const promise = readFile(fileName, { signal });

// Abort the request before the promise settled
// Abort the request before the promise settles.
controller.abort();

Comment thread
aduh95 marked this conversation as resolved.
Outdated
await promise;
Expand Down