answerCalls

fun answerCalls(answer: (Command<*>) -> CommandResult)

Answers each synchronous call a saga's handler makes with what answer returns for its command, as the target's command gateway would: committedResult (the default, at version 1), rejectedResult, which the handler gets as a me.ahoo.wow.api.client.CommandRejectedException, or failedResult, a me.ahoo.wow.api.problem.WowProblemException; answer may also throw one, as a target that is down does.