Package com.vaadin.signals.operations
Interface SignalOperation.ResultOrError<T>
- Type Parameters:
 T- the result type in case the operation was successful
- All Known Implementing Classes:
 SignalOperation.Error,SignalOperation.Result
- Enclosing class:
 - SignalOperation<T>
 
public static sealed interface SignalOperation.ResultOrError<T>
permits SignalOperation.Result<T>, SignalOperation.Error<T>
The result of a signal operation.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks whether this instance represents successfully applied signal operation. 
- 
Method Details
- 
successful
boolean successful()Checks whether this instance represents successfully applied signal operation.- Returns:
 trueif the operation was successful,falseif there was an error
 
 -