Function LRPCEvent

  • This decorator is used to mark the handler function of an endpoint class as an event

    Parameters

    • controller: string

      The controller name

    Returns (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void