Home > @esengine/ecs-framework-monorepo > IEventBus > getStats
IEventBus.getStats() method
获取事件统计信息
Signature:
typescript
getStats(eventType?: string): IEventStats | Map<string, IEventStats>;
Parameters
Parameter | Type | Description |
---|---|---|
eventType | string | (Optional) 事件类型(可选) |
Returns:
IEventStats | Map<string, IEventStats>