Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for noabody (0.54 sec)

  1. internal/pubsub/pubsub.go

    				}
    			}
    		}
    	}()
    
    	return nil
    }
    
    // NumSubscribers returns the number of current subscribers,
    // The mask is checked against the active subscribed types,
    // and 0 will be returned if nobody is subscribed for the type(s).
    func (ps *PubSub[T, M]) NumSubscribers(mask M) int32 {
    	types := Mask(atomic.LoadUint64(&ps.types))
    	if !types.Overlaps(Mask(mask.Mask())) {
    		return 0
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top