So, I am doing a course on web development and I'm doing mongoDB middleware stuff and I noticed the teacher was using an async function instead of a simple one and I really don't see the difference, I mean I understand the concept but I don't see how would it change the code's behavior.
personSchema.pre("save", async function(){
console.log("Saving...");
});
personSchema.post("save", async function(){
console.log("SAVED!");
});