For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/EntityLoadAfterEventSignal.md.

Class: EntityLoadAfterEventSignal

event entity

Beta

管理与实体加载后相关的回调。

Manages callbacks that are connected to after an entity is loaded.

Methods

subscribe()

subscribe(callback): (arg0) => void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

(arg0) => void

Remarks

添加一个回调,将在实体加载后被调用。

Adds a callback that will be called after an entity is loaded.


unsubscribe()

unsubscribe(callback): void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

void

Remarks

移除一个回调,使其在实体加载后不再被调用。

Removes a callback from being called after an entity is loaded.

同领域相关