This commit is contained in:
mattyatea 2024-04-02 22:51:43 +09:00
parent e56c7782db
commit f6498ebbea
2 changed files with 4 additions and 0 deletions

View file

@ -334,7 +334,9 @@ export class GlobalEventService {
@bindThis
public publishInternalEvent<K extends keyof InternalEventTypes>(type: K, value?: InternalEventTypes[K]): void {
console.time('time GlobalEventService.publishInternalEvent');
this.publish('internal', type, typeof value === 'undefined' ? null : value);
console.timeEnd('time GlobalEventService.publishInternalEvent');
}
@bindThis