Function Apply

  • Decorator applied to a method in an aggregate that marks the method as the handler for a specific event type.

    Parameters

    • event: ClassConstructor<IEvent<unknown>>

      Event to handle

    Returns MethodDecorator

Generated using TypeDoc