Package | Description |
---|---|
io.simplesource.saga.action.async | |
io.simplesource.saga.action.http | |
io.simplesource.saga.model.messages |
Modifier and Type | Method and Description |
---|---|
Optional<UndoCommand<A>> |
AsyncSpec.UndoFunction.apply(D decodedInput,
O output) |
Modifier and Type | Method and Description |
---|---|
Optional<UndoCommand<A>> |
HttpSpec.UndoFunction.apply(HttpRequest<K,B> decodedInput,
O output)
The UndoFunction is a mechanism to take the result of the async http invocation and turning it into an
undo action command.
|
Modifier and Type | Field and Description |
---|---|
io.simplesource.data.Result<SagaError,Optional<UndoCommand<A>>> |
ActionResponse.result
The result, consisting of a
SagaError if processing fail and indicating success if processing succeeds. |
Optional<UndoCommand<A>> |
SagaStateTransition.SagaActionStateChanged.undoCommand |
Copyright © 2019. All rights reserved.