FlowEffectState

sealed interface FlowEffectState

Signals active state of a FlowEffect. Does not contain the actions emitted by the flow. The reducer controls what to do with the emitted actions and how to incorporate them in the State.

Inheritors

Types

Link copied to clipboard
data class Completed(val effectId: EffectId, val ownerId: OwnerId?, val triggerAction: Action) : FlowEffectState
Link copied to clipboard
data class Failed(val effectId: EffectId, val ownerId: OwnerId?, val triggerAction: Action, val cause: Throwable?) : FlowEffectState
Link copied to clipboard
data class Inactive(val effectId: EffectId, val ownerId: OwnerId?, val triggerAction: Action) : FlowEffectState
Link copied to clipboard
data class Started(val effectId: EffectId, val ownerId: OwnerId?, val triggerAction: Action) : FlowEffectState

Properties

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