From 39b8c28d0752830d66507085d3b6f9223a4cc15c Mon Sep 17 00:00:00 2001 From: Benjamin Gruenbaum Date: Fri, 6 Nov 2020 13:44:40 +0200 Subject: [PATCH] fs: support abortsignal in writeFile PR-URL: https://github.com/nodejs/node/pull/35993 Reviewed-By: Antoine du Hamel Reviewed-By: Matteo Collina --- doc/api/fs.md | 61 ++++++++++++++++++++- lib/fs.js | 26 +++++++-- lib/internal/fs/promises.js | 10 +++- test/parallel/test-fs-promises-writefile.js | 12 ++++ test/parallel/test-fs-write-file.js | 30 ++++++++++ 5 files changed, 132 insertions(+), 7 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index 5c764e50cc3a22..5ea61f70c95c4d 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4361,6 +4361,10 @@ details.