updateLayerOpacity

abstract fun updateLayerOpacity(transform: (Set<String>) -> Set<String>)(source)

Atomically mutate layerOpacity; transform runs against the persisted value, avoiding lost updates.