fixed documentation formatting
This commit is contained in:
@@ -2,8 +2,7 @@ package gubgub
|
||||
|
||||
// sequentialDelivery effentiently delivers a message to each subscriber sequentially. For
|
||||
// performance reasons this might mutate the subscribers slice inplace. Please overwrite it with
|
||||
// the result of this
|
||||
// call.
|
||||
// the result of this call.
|
||||
func sequentialDelivery[T any](msg T, subscribers []Subscriber[T]) []Subscriber[T] {
|
||||
last := len(subscribers) - 1
|
||||
next := 0
|
||||
|
||||
Reference in New Issue
Block a user