Skip to content

Home > @esengine/ecs-framework-monorepo > EventBus > getStats

EventBus.getStats() method

获取事件统计信息

Signature:

typescript
getStats(eventType?: string): IEventStats | Map<string, IEventStats>;

Parameters

Parameter

Type

Description

eventType

string

(Optional) 事件类型(可选)

Returns:

IEventStats | Map<string, IEventStats>

基于 MIT 许可证发布