SagaEffect

interface SagaEffect

Receiver DSL of the saga { } builder.

Functions

bind
Link copied to clipboard
abstract suspend fun <A> Saga<A>.bind(): A
Runs a Saga and registers it's compensation task after the action finishes running
saga
Link copied to clipboard
open fun <A> saga(action: suspend SagaEffect.() -> A): Saga.Part<A>
Nested syntax for optimisation.

Sources

jvm source
Link copied to clipboard