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.
Imported from Jira BEAM-1335. Original Jira may contain additional context.
Reported by: kenn.
In writing example state code with
ValueStatethere is almost always a use offirstNonNull(state.read(), defaultValue). It would be nice to bake this into the declaration.Imported from Jira BEAM-1335. Original Jira may contain additional context.
Reported by: kenn.