public final class Actions
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <S,E> Action<S,E> |
emptyAction()
Builds a noop
Action . |
static <S,E> Action<S,E> |
errorCallingAction(Action<S,E> action,
Action<S,E> errorAction)
Builds an error calling action
Action . |
public static <S,E> Action<S,E> emptyAction()
Action
.S
- the type of stateE
- the type of eventpublic static <S,E> Action<S,E> errorCallingAction(Action<S,E> action, Action<S,E> errorAction)
Action
.S
- the type of stateE
- the type of eventaction
- the actionerrorAction
- the error action