GivenAggregate

constructor(model: AggregateModel<S>, ref: AggregateRef, history: List<Any>, scope: Scope)

The aggregate ref of model at the state and version its history leaves it in, one commit per event. It differs from the primary constructor in taking the history's events, of which it makes the commits.