Companion

Factory for Saga.

Functions

Link copied to clipboard

Creates a new saga builder.

Link copied to clipboard
fun <T> create(steps: List<SagaStep<*, *>>, config: SagaConfig = SagaConfig(), clock: Clock = Clock.System): Saga<T>

Creates a new Saga instance with the given steps and configuration.