Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance Method

addLifecycleHandler(_:)

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