Interface for managing actions of type HsAction<T>.
HsAction<T>
The type of the payload or data associated with the action.
Cancels a pending action if one exists.
The action to cancel, or null if there is no action to cancel.
null
Handles the provided action.
The action to handle.
true if the action was handled successfully, otherwise false.
true
false
Checks if the provided action is valid.
The action to validate.
true if the action is valid, otherwise false.
Manages the current action.
true if the action was managed successfully, otherwise false.
Interface for managing actions of type
HsAction<T>
.