Instance Method
addLifecycleHandler(_:)
Register a
LifecycleHandler with the application. Vapor will call the different lifecycle events when they are reachedfunc addLifecycleHandler(_ lifecycleHander: any LifecycleHandler)