• Returns the EventStore from the context. If required is true, it will throw an error if the EventStore is not found.

    Parameters

    • required: false

    Returns undefined | IEventStore

  • Returns the EventStore from the context. If required is true, it will throw an error if the EventStore is not found.

    Parameters

    • required: true

    Returns IEventStore