ManagedEvent

class ManagedEvent

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

Note: Event instances may be frozen and reused for better performance. See ManagedEvent.freeze.

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 for better performance.