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 b5ad79c04752338891931eb9652558fc325c3c88
2 changes: 1 addition & 1 deletion doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ try {
const data = new Uint8Array(Buffer.from('Hello Node.js'));
const promise = writeFile('message.txt', data, { 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.
Resolved
await promise;
Expand Down