do

infix fun do(name: String): SagaStepWithBuilder<C, R>

Defines the next saga step with "then do 'name' with { ... }" syntax.

Example:

then do "charge-payment" with { context ->
paymentService.charge(context.amount)
}