Skip to content

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

EventBus.offAll() method

移除指定事件类型的所有监听器

Signature:

typescript
offAll(eventType: string): void;

Parameters

Parameter

Type

Description

eventType

string

事件类型

Returns:

void

基于 MIT 许可证发布