edifice.StateValue.set

StateValue.set(value)[source]

Sets the current value and trigger rerender.

Re-renders will only be triggered for subscribed components. If an exception occurs while re-rendering, all changes are unwound and the StateValue retains the old value.

Parameters

value (Any) – value to set to.

Returns

None