v0.0.600
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 2m30s
Some checks failed
Build Docker and Deploy / Run goext test-suite (push) Failing after 2m30s
This commit is contained in:
@@ -40,7 +40,7 @@ func (p *broadcastSubscription[TData]) Unsubscribe() {
|
||||
p.parent.unsubscribe(p)
|
||||
}
|
||||
|
||||
func NewBroadcast[TData any](capacity int) *Broadcaster[TData] {
|
||||
func NewBroadcaster[TData any](capacity int) *Broadcaster[TData] {
|
||||
return &Broadcaster[TData]{
|
||||
masterLock: &sync.Mutex{},
|
||||
subscriptions: make([]*broadcastSubscription[TData], 0, capacity),
|
||||
|
Reference in New Issue
Block a user