func (cm *PubSub) Unsubscribe(id string, subscriber Subscriber) {
	if id == "" || subscriber == nil {
		return
	}
	cm.lock.Lock()
	defer cm.lock.Unlock()

	cm.unsubscribeOne(id, subscriber)
}
// Unsubscribe - unsubscribes a Subscriber from an id
unsubscribes a Subscriber from an id
// Unsubscribe - unsubscribes a Subscriber from an id
func (cm *PubSub) Unsubscribe(id string, subscriber Subscriber) {
	if id == "" || subscriber == nil {
		return
	}
	cm.lock.Lock()
	defer cm.lock.Unlock()
	cm.unsubscribeOne(id, subscriber)
}
func ( cm * PubSub ) Unsubscribe ( id string , subscriber Subscriber ) { if id == " " || subscriber == nil { return } cm . lock . Lock ( ) defer cm . lock . Unlock ( ) cm . unsubscribeOne ( id , subscriber ) }
unsubscribes a Subscriber from an id
unsubscribes a Subscriber from an id