AnchorRegistrationEvent
Hierarchy
- RegistrationEvent
- AnchorRegistrationEvent
Index
Constructors
constructor
Parameters
payload: string
userData: object = {}
Returns AnchorRegistrationEvent
Properties
readonlyheader
Type declaration
timestamp: number
readonlypayload
readonlyuserData
Methods
staticregistrar
The
registrar()
method is explicitly called by the EventSource decorator for a method to enhance the method to auto-emit events.Parameters
eventService: EventService
Arguments are spread out using the array spread operator.
- args[0] - Instance of EventService.
- args[1] - PropertyDescriptor.
descriptor: PropertyDescriptor
Returns void
This event is emitted when a class with
@Anchor()
decorator is registered. It emits the name of the class.The Event instance.