code: func (swi *pluginStatusMap) WatchNameToIdx(subscriber infra.PluginName, pluginChannel chan PluginStatusEvent) {
  	swi.mapping.Watch(string(subscriber), func(event idxmap.NamedMappingGenericEvent) {
  		pluginChannel <- PluginStatusEvent{
  			NamedMappingEvent: event.NamedMappingEvent,
  			Value:             swi.castdata(event.Value),
  		}
  	})
  }
docs: // WatchNameToIdx allows to subscribe for watching changes in pluginStatusMap mapping