HookEvent
Hierarchy
Index
Constructors
constructor
Parameters
optionalname: string
optionalpayload: void
Returns HookEvent
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
The HookEvent class is the superclass for all events emitting in relation to hooks.
Events/Hooks
The Event instance.