diff options
| author | mo khan <mo@mokhan.ca> | 2025-07-24 13:15:16 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-07-24 13:15:16 -0600 |
| commit | 6a1d0871d10697ef1f8627ef39b9b44c9ba83114 (patch) | |
| tree | e97fc1e15f9ab2b885813464d7fb400f8744ddbd | |
| parent | 63793f9eb4bb90c7919f26d9f020c96072373f03 (diff) | |
refactor: remove unused configuration option
| -rw-r--r-- | pkg/event/aggregator.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/event/aggregator.go b/pkg/event/aggregator.go index 7ff5061..738211e 100644 --- a/pkg/event/aggregator.go +++ b/pkg/event/aggregator.go @@ -18,10 +18,6 @@ func WithDefaults() x.Option[*Aggregator] { }) } -func WithoutSubscriptions() x.Option[*Aggregator] { - return WithSubscriptions(map[Event][]Subscription{}) -} - func WithSubscriptions(subscriptions map[Event][]Subscription) x.Option[*Aggregator] { return x.With(func(item *Aggregator) { item.subscriptions = subscriptions |
