ResourceRegistrationEvent
Hierarchy
- RegistrationEvent- ResourceRegistrationEvent
 
Index
Constructors
constructor
- Parameters- optionalname: string
- optionalpayload: void
 - Returns ResourceRegistrationEvent
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
@Resource('my-package')decorator is registered. It emits the name of the class.Events/Registration
The Event instance.