Const
Tracing channel for service provider start lifecycle hook. This channel traces when a provider's start() method is called during the application start phase, after all providers have been booted.
// Track provider startup orderconst startupOrder: string[] = []providerStart.subscribe({ asyncStart(provider) { startupOrder.push(provider.constructor.name) }}) Copy
// Track provider startup orderconst startupOrder: string[] = []providerStart.subscribe({ asyncStart(provider) { startupOrder.push(provider.constructor.name) }})
Tracing channel for service provider start lifecycle hook. This channel traces when a provider's start() method is called during the application start phase, after all providers have been booted.