Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-1335

ValueState could use an initial/default value

Details

    • Improvement
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-java-core

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kenn Kenneth Knowles
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: