ModuleEvent
Hierarchy
- Event<void>
- ModuleEvent
Index
Constructors
constructor
Parameters
optionalname: string
optionalpayload: void
Returns ModuleEvent
Properties
readonlyinheritedheader
Type declaration
timestamp: number
readonlyinheritedname
readonlyinheritedpayload
Methods
staticinheritedregistrar
The
registrar()
method is explicitly called by the EventSource decorator for a method to enhance that method to auto-emit events.Parameters
rest...args: [EventService, PropertyDescriptor]
Arguments are spread out using the array spread operator.
- args[0] - Instance of EventService.
- args[1] - PropertyDescriptor.
Returns void
This event is emitted when a module's
onInit()
method is run. It emits the name of the module.Events/Module
The Event instance.