Interface TasksTUI.Action

All Superinterfaces:
Function<TasksTUI.State,Result<TasksTUI.State>>
Enclosing class:
TasksTUI
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface TasksTUI.Action extends Function<TasksTUI.State,Result<TasksTUI.State>>
Actions transform State → Result. Success = new state, Failure = error message to display.