refactor: event names (#19945)

This commit is contained in:
Jason Rasmussen 2025-07-15 13:41:19 -04:00 committed by GitHub
parent 351701c4d6
commit 920d7de349
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
32 changed files with 171 additions and 168 deletions

View file

@ -73,11 +73,11 @@ class BaseModule implements OnModuleInit, OnModuleDestroy {
);
this.eventRepository.setup({ services });
await this.eventRepository.emit('app.bootstrap');
await this.eventRepository.emit('AppBootstrap');
}
async onModuleDestroy() {
await this.eventRepository.emit('app.shutdown');
await this.eventRepository.emit('AppShutdown');
await teardownTelemetry();
}
}