EffectStore
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EffectStore
effectstore
/
com.intive.effectstore
/
FlowEffectEvent
Flow
Effect
Event
sealed
interface
FlowEffectEvent
<
out
R
>
Inheritors
Started
Emitted
Completed
Failed
Cancelled
Members
Members & Extensions
Types
Cancelled
Link copied to clipboard
data
class
Cancelled
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
=
null
,
val
triggerAction
:
Action
)
:
FlowEffectEvent
<
Nothing
>
Completed
Link copied to clipboard
data
class
Completed
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
=
null
,
val
triggerAction
:
Action
)
:
FlowEffectEvent
<
Nothing
>
Emitted
Link copied to clipboard
data
class
Emitted
<
out
R
>
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
=
null
,
val
triggerAction
:
Action
,
val
value
:
R
)
:
FlowEffectEvent
<
R
>
Failed
Link copied to clipboard
data
class
Failed
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
=
null
,
val
triggerAction
:
Action
,
val
cause
:
Throwable
?
)
:
FlowEffectEvent
<
Nothing
>
Started
Link copied to clipboard
data
class
Started
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
=
null
,
val
triggerAction
:
Action
)
:
FlowEffectEvent
<
Nothing
>
Properties
effect
Id
Link copied to clipboard
abstract
val
effectId
:
EffectId
owner
Id
Link copied to clipboard
abstract
val
ownerId
:
OwnerId
?
trigger
Action
Link copied to clipboard
abstract
val
triggerAction
:
Action
Functions
emitted
Value
Or
Else
Link copied to clipboard
fun
<
R
>
FlowEffectEvent
<
R
>
.
emittedValueOrElse
(
orElse
:
(
)
->
R
)
:
R
fun
<
R
,
T
>
FlowEffectEvent
<
R
>
.
emittedValueOrElse
(
valueTransformer
:
(
R
)
->
T
,
orElse
:
(
)
->
T
)
:
T
to
Flow
Effect
State
Link copied to clipboard
fun
<
R
>
FlowEffectEvent
<
R
>
.
toFlowEffectState
(
)
:
FlowEffectState