Package zendesk.support.suas
Interface Continuation
-
public interface Continuation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
next(Action<?> action)
Pass anAction
to the nextMiddleware
-
-
-
Method Detail
-
next
void next(Action<?> action)
Pass anAction
to the nextMiddleware
This function must be called in
Middleware.onAction(Action, GetState, Dispatcher, Continuation)
to pass anAction
down the chain ofMiddleware
.
AMiddleware
can choose to consume anAction
by not callingContinuation.next(Action)
.- Parameters:
action
- the action
-
-