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