toggle menu
backpack-android
androidJvm
switch theme
search in API
backpack-common
/
net.skyscanner.backpack.util
/
MutableStateMachine
Mutable
State
Machine
@
Stable
interface
MutableStateMachine
<
State
,
Effect
>
:
StateMachine
<
State
,
Effect
>
Members
Types
Commit
Scope
Link copied to clipboard
interface
CommitScope
<
Effect
>
Properties
effects
Link copied to clipboard
abstract
val
effects
:
SharedFlow
<
Effect
>
state
Link copied to clipboard
abstract
val
state
:
StateFlow
<
State
>
Functions
commit
Link copied to clipboard
abstract
fun
commit
(
block
:
suspend
MutableStateMachine.CommitScope
<
Effect
>
.
(
State
)
->
State
)