ModelActionRegistrationEvent
Hierarchy
- RegistrationEvent
- ModelActionRegistrationEvent
Index
Constructors
constructor
Parameters
optionalname: string
optionalpayload: void
Returns ModelActionRegistrationEvent
Properties
readonlyinheritedheader
Type declaration
timestamp: number
readonlyinheritedname
readonlyinheritedpayload
Methods
staticregistrar
The
registrar()
method is explicitly called by the EventSource decorator for a method to enhance that method to auto-emit events.Parameters
eventService: EventService
descriptor: PropertyDescriptor
Returns void
This event is emitted when a class with
@Action(ModelClass)
decorator is registered. It emits the name of the model class and the name of the action.Events/Registration
The Event instance.