Called after the controllers and middlewares have been mounted.
Called after the onStart
callback has been called.
Called after the server instance has been closed.
Called right before creating the server and calling listen
on it.
Called before closing the server instance.
Called every time a new route is mounted in the application.
Called once the server confirmed that is listening.
A dictionary with the events emitted by the application and their payloads.