Function subScribeEvent

  • This decorator is used to subscribe to an event

    Parameters

    • eventType: ""

      The event type to subscribe to

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