EffectStore
Toggle table of contents
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
EffectStore
effectstore
/
com.intive.effectstore
/
EffectState
/
Cancelled
Cancelled
data
class
Cancelled
(
val
effectId
:
EffectId
,
val
ownerId
:
OwnerId
?
,
val
triggerAction
:
Action
)
:
EffectState
<
Nothing
>
Members
Members & Extensions
Constructors
Cancelled
Link copied to clipboard
constructor
(
effectId
:
EffectId
,
ownerId
:
OwnerId
?
,
triggerAction
:
Action
)
Properties
effect
Id
Link copied to clipboard
open
override
val
effectId
:
EffectId
owner
Id
Link copied to clipboard
open
override
val
ownerId
:
OwnerId
?
trigger
Action
Link copied to clipboard
open
override
val
triggerAction
:
Action
Functions
get
Result
If
Completed
Else
Link copied to clipboard
fun
getResultIfCompletedElse
(
elseProducer
:
(
)
->
Nothing
)
:
Nothing
get
Result
If
Completed
Or
Null
Link copied to clipboard
fun
getResultIfCompletedOrNull
(
)
:
Nothing
?
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
:
(
Nothing
)
->
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