node/lib/internal/fs
cjihrig 9a2ac2c615
fs: use createDeferredPromise() in promises.watch()
This commit updates fsPromises.watch() to use the
createDeferredPromise() utility.

PR-URL: https://github.com/nodejs/node/pull/37386
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
2021-02-17 23:33:38 -05:00
..
dir.js fs: refactor to avoid unsafe array iteration 2021-01-06 11:31:53 +01:00
promises.js fs: add fsPromises.watch() 2021-02-15 07:52:13 -08:00
read_file_context.js fs: refactor to use optional chaining 2020-12-21 14:55:30 +01:00
rimraf.js fs: use throwIfNoEntry option on statSync calls 2021-01-24 08:59:44 -08:00
streams.js lib: refactor to use validateFunction 2021-01-27 20:46:54 +02:00
sync_write_stream.js fs: refactor to use more primordials 2020-11-27 18:40:51 +01:00
utils.js fs: allow passing negative zero fd 2021-02-06 05:09:21 -08:00
watchers.js fs: use createDeferredPromise() in promises.watch() 2021-02-17 23:33:38 -05:00