with

infix fun with(forward: suspend (C) -> R): SagaStepConfiguration<C, R>

Defines the forward action for the step (suspend function).

Example:

do "reserve" with { context -> inventoryService.reserve(context) }