We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
signal
filehandle.writeFile()
1 parent 40a2858 commit b3a0779Copy full SHA for b3a0779
doc/api/fs.md
@@ -805,6 +805,7 @@ changes:
805
* `options` {Object|string}
806
* `encoding` {string|null} The expected character encoding when `data` is a
807
string. **Default:** `'utf8'`
808
+ * `signal` {AbortSignal|undefined} allows aborting an in-progress writeFile. **Default:** `undefined`
809
* Returns: {Promise}
810
811
Asynchronously writes data to a file, replacing the file if it already exists.
0 commit comments