Function Rollback

  • Decorator applied to a method in an aggregate that marks the method as the handler to generate a rollback event given an event type. Decorated method should return a rollback event.

    Parameters

    • event: ClassConstructor<IEvent<unknown>>

      Event to handle

    Returns MethodDecorator

Generated using TypeDoc