--- title: "Middleware" description: "This function is called before the `run` function, it allows you to wrap the run function with custom code." ---