diff options
Diffstat (limited to 'pkg/event/aggregator.go')
| -rw-r--r-- | pkg/event/aggregator.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pkg/event/aggregator.go b/pkg/event/aggregator.go index 0beaf86..996a550 100644 --- a/pkg/event/aggregator.go +++ b/pkg/event/aggregator.go @@ -6,12 +6,6 @@ type Aggregator struct { subscriptions map[Event][]Subscription } -func New() *Aggregator { - return x.New[*Aggregator]( - WithoutSubscriptions(), - ) -} - func WithoutSubscriptions() x.Option[*Aggregator] { return WithSubscriptions(map[Event][]Subscription{}) } |
