ResourceActionRegistrationEvent
Hierarchy
- RegistrationEvent
- ResourceActionRegistrationEvent
Index
Constructors
constructor
Parameters
optionalname: string
optionalpayload: void
Returns ResourceActionRegistrationEvent
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(ResourceClass)
decorator is registered. It emits the name of the resource class and the name of the action.Events/Registration
The Event instance.