Kenneth Knowles created BEAM-1335:
-------------------------------------
Summary: ValueState could use an initial/default value
Key: BEAM-1335
URL: https://issues.apache.org/jira/browse/BEAM-1335
Project: Beam
Issue Type: Improvement
Components: sdk-java-core
Reporter: Kenneth Knowles
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)