set Feature State
suspend fun <IF : InteractiveFeature<FS>, FS : FeatureState> setFeatureState(interactiveFeature: IF, state: FS): Expected<String, None>
Sets the state map for given interactiveFeature coming from an interaction callback asynchronously.
Return
the optional error wrapped in Expected.
Parameters
interactive Feature
the interactive feature coming from an interaction callback.
state
describes the new state of the map for given interactiveFeature.