Interface View.UpdateEffect.Builder<S>

Enclosing interface:
View.UpdateEffect<S>

public static interface View.UpdateEffect.Builder<S>
  • Method Details

    • updateState

      View.UpdateEffect<S> updateState(S newState)
    • deleteState

      View.UpdateEffect<S> deleteState()
    • ignore

      View.UpdateEffect<S> ignore()
      Ignore this event (and continue to process the next).
    • error

      View.UpdateEffect<S> error(String description)
      Trigger an error for the event. Returning this effect is equivalent to throwing an exception from the handler and will lead to retrying processing of the same event until it is handled successfully.
      Parameters:
      description - The description of the error.