Effect

class Effect<A>(f: suspend SagaEffect.() -> A) : 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

f
Link copied to clipboard
val f: suspend SagaEffect.() -> A

Sources

jvm source
Link copied to clipboard