ManagedEvent

class ManagedEvent

Event that can be emitted on a managed object, component, list/map, or reference, and can be handled by observers or by objects that reference the emitting object.

Note: To learn more about components, managed objects, and events, refer to this guide.

Constructor

(name?: string): ManagedEvent

.name

string

Identifier for the type of this event.

.freeze()

(): Readonly<this>

Freeze this object so that its properties cannot be modified, and the event can be reused to improve performance.