Full

class Full<A>(action: suspend SagaEffect.() -> A, compensation: suspend (A) -> Unit) : Saga<A>

Functions

compensate
Link copied to clipboard
open infix fun compensate(compensate: suspend (A) -> Unit): Saga<A>
parZip
Link copied to clipboard
open fun <B, C> parZip(other: Saga<B>, f: suspend CoroutineScope.(A, B) -> C): Saga<C>
open fun <B, C> parZip(ctx: CoroutineContext, other: Saga<B>, f: suspend CoroutineScope.(A, B) -> C): Saga<C>
transact
Link copied to clipboard
open suspend fun transact(): A

Properties

action
Link copied to clipboard
val action: suspend SagaEffect.() -> A
compensation
Link copied to clipboard
val compensation: suspend (A) -> Unit

Sources

jvm source
Link copied to clipboard