Const// Monitor shutdown process
providerShutdown.subscribe({
asyncStart(provider) {
console.log('Provider shutting down:', provider.constructor.name)
},
asyncEnd(provider) {
console.log('Provider shutdown complete:', provider.constructor.name)
},
error(provider, error) {
console.error('Provider shutdown error:', provider.constructor.name, error)
}
})
Tracing channel for service provider shutdown lifecycle hook. This channel traces when a provider's shutdown() method is called during graceful application termination.