From 017246b83053227d672e138bec51e9b40f165bfd 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 --- doc/api/fs.md | 61 ++++++++++++++++++++- lib/fs.js | 26 +++++++-- lib/internal/fs/promises.js | 10 +++- test/parallel/test-fs-promises-writefile.js | 11 ++++ test/parallel/test-fs-write-file.js | 29 ++++++++++ 5 files changed, 130 insertions(+), 7 deletions(-) diff --git a/doc/api/fs.md b/doc/api/fs.md index d5e2a2dfedc5cd..713ba1bf26bbee 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4385,6 +4385,10 @@ details.