public interface ActionDispatcher
ActivationHandler in the
ConnectionContext.init(ActivationHandler, Executor) method.| Modifier and Type | Method and Description |
|---|---|
<T> CompletableFuture<T> |
createCompletableFuture()
Gets a completable future that needs to be resolved by the caller.
|
void |
dispatchAction(Command action)
Dispatches the given action.
|
void dispatchAction(Command action)
action - the action to be executed in background, not null<T> CompletableFuture<T> createCompletableFuture()
CompletableFuture to be resolvedCopyright © 2023. All rights reserved.