Failed

data class Failed(val effectId: EffectId, val ownerId: OwnerId? = null, val triggerAction: Action, val cause: Throwable?) : FlowEffectEvent<Nothing>

Constructors

Link copied to clipboard
constructor(effectId: EffectId, ownerId: OwnerId? = null, triggerAction: Action, cause: Throwable?)

Properties

Link copied to clipboard
Link copied to clipboard
open override val effectId: EffectId
Link copied to clipboard
open override val ownerId: OwnerId?
Link copied to clipboard
open override val triggerAction: Action

Functions

Link copied to clipboard
fun <R> FlowEffectEvent<R>.emittedValueOrElse(orElse: () -> R): R
fun <R, T> FlowEffectEvent<R>.emittedValueOrElse(valueTransformer: (R) -> T, orElse: () -> T): T