// UnsubscribeAll unsubscribes from all data changes
UnsubscribeAll unsubscribes from all data changes
// UnsubscribeAll unsubscribes from all data changes
func (adapter *BaseAdapter) UnsubscribeAll() (err error) {
	adapter.Lock()
	defer adapter.Unlock()
	for _, data := range adapter.Data {
		data.subscribe = false
	}
	return nil
}
func ( adapter * BaseAdapter ) UnsubscribeAll ( ) ( err error ) { adapter . Lock ( ) defer adapter . Unlock ( ) for _ , data := range adapter . Data { data . subscribe = false } return nil }
UnsubscribeAll unsubscribes from all data changes
UnsubscribeAll unsubscribes from all data changes