Saga Step
constructor(step: TypedValue, forward: suspend (C) -> R, compensation: suspend (R) -> Unit? = null, idempotent: Boolean = false, timeout: Duration? = null, retryPolicy: RetryPolicy? = null)
Parameters
C
The type of context passed to the forward action
R
The type of result produced by the forward action