T - The state value type.public interface MutableState<T> extends State<T>
State that the value can be changed.| Modifier and Type | Method and Description |
|---|---|
void |
set(T value,
@NotNull StateValueHost host)
Sets a new value for this state.
|
factory, get, internalId, nextvoid set(T value, @NotNull @NotNull StateValueHost host)
value - The new state value.host - The state host that'll catch the state change.