Emitted

data class Emitted<out R>(val effectId: EffectId, val ownerId: OwnerId? = null, val triggerAction: Action, val value: R) : FlowEffectEvent<R>

Constructors

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

Properties

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
Link copied to clipboard
val value: R

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