after
Entry point for after.each(step) { … } on SagaBuilder.
Example:
sagaExecutor<Ctx, Result> {
first call "step" with { ctx -> process(ctx) }
after.each(step) { result ->
auditLog.record(step.stringValue, result)
}
}Content copied to clipboard