Skip to content

Commit 22ac597

Browse files
y-hsgwnodejs-github-bot
authored andcommitted
doc: update options to filehandle.appendFile()
PR-URL: #56972 Reviewed-By: Luigi Pinca <[email protected]>
1 parent 685f00c commit 22ac597

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/api/fs.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,7 @@ changes:
199199
* `data` {string|Buffer|TypedArray|DataView|AsyncIterable|Iterable|Stream}
200200
* `options` {Object|string}
201201
* `encoding` {string|null} **Default:** `'utf8'`
202-
* `flush` {boolean} If `true`, the underlying file descriptor is flushed
203-
prior to closing it. **Default:** `false`.
202+
* `signal` {AbortSignal|undefined} allows aborting an in-progress writeFile. **Default:** `undefined`
204203
* Returns: {Promise} Fulfills with `undefined` upon success.
205204

206205
Alias of [`filehandle.writeFile()`][].

0 commit comments

Comments
 (0)