fs: migrate ASYNC_CALL to AsyncCall
This patch migrates all the ASYNC_CALL
macro in node_file.cc to the template counterpart AsyncCall
. Also goes with a different style of wrapping the arguments so it's clearer to see what arguments are passed to which uv_fs_*
functions.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
fs