State
class State(initialState: Map<String, Any> = emptyMap(), initialDelta: Map<String, Any> = emptyMap()) : Map<String, Any>
A thread-safe state map that maintains the current value and tracks modifications.
This class implements Map to provide a read-only view of the state, while exposing specific mutation methods (set, putAll).
Constructors
Functions
Link copied to clipboard
Applies the non-temp: entries of delta to the state, tracking them in the delta map.
Link copied to clipboard
Applies only the temp:-prefixed entries of delta to the state, tracking them in the delta map; the complement of applyDelta.
Link copied to clipboard
Link copied to clipboard