Finally
An api functionality is 'finally' which is a middleware that is invoked at the end of all executions (paths and middlewares) used if you want to clean variables, connect to database, perform tracing, and so on.
api.finally((req, res) => {
...
});
Last updated
Was this helpful?