Skip to content

ECS Framework API v2.1.50


ECS Framework API / IEventListenerConfig

Interface: IEventListenerConfig

Defined in: Types/index.ts:144

事件监听器配置接口

Properties

once?

optional once: boolean

Defined in: Types/index.ts:146

是否只执行一次


priority?

optional priority: number

Defined in: Types/index.ts:148

优先级(数字越大优先级越高)


async?

optional async: boolean

Defined in: Types/index.ts:150

是否异步执行


context?

optional context: unknown

Defined in: Types/index.ts:152

执行上下文

Released under the MIT License.