Skip to content

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

EventBus.off() method

移除事件监听器

Signature:

typescript
off(eventType: string, listenerId: string): boolean;

Parameters

Parameter

Type

Description

eventType

string

事件类型

listenerId

string

监听器ID

Returns:

boolean

基于 MIT 许可证发布