kmp-toolkit
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kmp-toolkit
bots-policy
/
com.siddharth.kmp.botspolicy
/
Outcome
Outcome
sealed
interface
Outcome
<
out
State
>
Generic outcome of applying a Move to a
State
— mirrors an engine's own apply-outcome type.
Inheritors
Accepted
Rejected
Members
Types
Accepted
Link copied to clipboard
data
class
Accepted
<
out
State
>
(
val
state
:
State
)
:
Outcome
<
State
>
Rejected
Link copied to clipboard
data
class
Rejected
(
val
reason
:
String
)
:
Outcome
<
Nothing
>