Skip to content

Commit

Permalink
event: fix typo (#29749)
Browse files Browse the repository at this point in the history
typo: of -> or
  • Loading branch information
cocoyeal committed May 10, 2024
1 parent e5f5eae commit 603fd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion event/multisub.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package event

// JoinSubscriptions joins multiple subscriptions to be able to track them as
// one entity and collectively cancel them of consume any errors from them.
// one entity and collectively cancel them or consume any errors from them.
func JoinSubscriptions(subs ...Subscription) Subscription {
return NewSubscription(func(unsubbed <-chan struct{}) error {
// Unsubscribe all subscriptions before returning
Expand Down

0 comments on commit 603fd89

Please sign in to comment.