We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 695ef4a commit c404532Copy full SHA for c404532
event/multisub.go
@@ -17,7 +17,7 @@
17
package event
18
19
// JoinSubscriptions joins multiple subscriptions to be able to track them as
20
-// one entity and collectively cancel them of consume any errors from them.
+// one entity and collectively cancel them or consume any errors from them.
21
func JoinSubscriptions(subs ...Subscription) Subscription {
22
return NewSubscription(func(unsubbed <-chan struct{}) error {
23
// Unsubscribe all subscriptions before returning
0 commit comments