Is there anyway we can call to previous method in async.waterfall from a below method.
async.waterfall([
function (callback) {
},
function (reservationStatus, callback) {
},
function (reservationStatusList, frontOfficeStatusList, callback) {
callToPreviosFunction();
}
], function (err, result) {
res.json(result);
});