Native Async functions in async.waterfall pass undefined
const async = require('async');
async.waterfall(
[
async () => {},
(...args) => {
args.at(-1)(null, args);
},
],
(error, result) => {
console.log('error', error, '// result', result);
},
);
no comments