are
This commit is contained in:
parent
95310f07ac
commit
e56c7782db
|
@ -346,7 +346,7 @@ export class GlobalEventService {
|
|||
public publishMainStream<K extends keyof MainEventTypes>(userId: MiUser['id'], type: K, value?: MainEventTypes[K]): void {
|
||||
console.time('time GlobalEventService.publishMainStream');
|
||||
this.publish(`mainStream:${userId}`, type, typeof value === 'undefined' ? null : value);
|
||||
console.time('time GlobalEventService.publishMainStream');
|
||||
console.timeEnd('time GlobalEventService.publishMainStream');
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
|
Loading…
Reference in a new issue