ManagedCoreEvent

class ManagedCoreEvent

extends ManagedEvent

Status events, specific to a single object.

Note: These events are emitted by Typescene internally and should not be emitted by your application.

Constructor

(name?: string): ManagedCoreEvent

.isCoreEvent() static

(event: ManagedEvent): event is ManagedCoreEvent

Returns true if given event is a core event.

.name

string

Inherited from ManagedEvent.name.

.freeze()

(): Readonly<this>

Inherited from ManagedEvent.freeze.


ManagedCoreEvent.ACTIVE

Readonly<ManagedCoreEvent>

Event that is emitted for all managed objects after activation.


ManagedCoreEvent.INACTIVE

Readonly<ManagedCoreEvent>

Event that is emitted for all managed objects after deactivation.


ManagedCoreEvent.DESTROYED

Readonly<ManagedCoreEvent>

Event that is emitted for all managed objects after they are destroyed.

Note: Handlers on objects that referenced the destroyed object will be unable to access the destroyed object through their own managed properties, since the value would already be set to undefined.