ManagedCoreEvent

class ManagedCoreEvent

extends ManagedEvent

Core event that is not propagated by default (see ManagedObject.propagateChildEvents).

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

Constructor

(name?: string): ManagedCoreEvent

.ACTIVE static

Readonly<ManagedCoreEvent>

Event that is emitted for all managed objects after activation.

Note: This event is emitted by Typescene internally and should not be emitted by your application.

.INACTIVE static

Readonly<ManagedCoreEvent>

Event that is emitted for all managed objects after deactivation.

Note: This event is emitted by Typescene internally and should not be emitted by your application.

.DESTROYED static

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 its own managed property, since the reference is immediately set to undefined.

Note: This event is emitted by Typescene internally and should not be emitted by your application.

.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.