Details
-
Improvement
-
Status: Open
-
P3
-
Resolution: Unresolved
-
None
-
None
Description
In writing example state code with ValueState there is almost always a use of firstNonNull(state.read(), defaultValue). It would be nice to bake this into the declaration.