create

abstract fun create(key: StoreKey): Aggregate

Creates a new Aggregate instance for the specified store key.

Return

A new Aggregate instance configured for the given key

Parameters

key

The store key that identifies the target for aggregation