EffectStore
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EffectStore
effectstore
/
com.intive.effectstore
/
EffectState
/
Completed
Completed
data
class
Completed
<
R
>
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
,
val
triggerAction
:
Action
,
val
result
:
R
)
:
EffectState
<
R
>
Members
Members & Extensions
Constructors
Completed
Link copied to clipboard
constructor
(
effectId
:
EffectId
,
ownerId
:
OwnerId
?
,
triggerAction
:
Action
,
result
:
R
)
Properties
effect
Id
Link copied to clipboard
open
override
val
effectId
:
EffectId
owner
Id
Link copied to clipboard
open
override
val
ownerId
:
OwnerId
?
result
Link copied to clipboard
val
result
:
R
trigger
Action
Link copied to clipboard
open
override
val
triggerAction
:
Action
Functions
get
Result
If
Completed
Else
Link copied to clipboard
fun
getResultIfCompletedElse
(
elseProducer
:
(
)
->
R
)
:
R
get
Result
If
Completed
Or
Null
Link copied to clipboard
fun
getResultIfCompletedOrNull
(
)
:
R
?
is
Completed
Link copied to clipboard
fun
EffectState
<
*
>
.
isCompleted
(
)
:
Boolean
is
Failed
Link copied to clipboard
fun
EffectState
<
*
>
.
isFailed
(
)
:
Boolean
is
Running
Link copied to clipboard
fun
EffectState
<
*
>
.
isRunning
(
)
:
Boolean
map
Link copied to clipboard
fun
<
U
>
map
(
f
:
(
R
)
->
U
)
:
EffectState
<
U
>
matches
Action
Type
Link copied to clipboard
inline
fun
<
A
:
Action
>
EffectState
<
*
>
.
matchesActionType
(
)
:
Boolean
matches
Id
Link copied to clipboard
fun
matchesId
(
effectId
:
EffectId
)
:
Boolean
matches
Id
And
Owner
Link copied to clipboard
fun
matchesIdAndOwner
(
effectId
:
EffectId
,
ownerId
:
OwnerId
)
:
Boolean
matches
Owner
Link copied to clipboard
fun
matchesOwner
(
ownerId
:
OwnerId
)
:
Boolean