toggle menu
flowredux
common
switch theme
search in API
flowredux
/
com.freeletics.flowredux.dsl
/
FlowReduxStateMachine
Flow
Redux
State
Machine
@
ExperimentalCoroutinesApi
abstract
class
FlowReduxStateMachine
<
S
:
Any
,
A
:
Any
>
(
initialStateSupplier
:
(
)
->
S
)
:
StateMachine
<
S
,
A
>
Members
Constructors
Flow
Redux
State
Machine
Link copied to clipboard
constructor
(
initialState
:
S
)
constructor
(
initialStateSupplier
:
(
)
->
S
)
Properties
state
Link copied to clipboard
open
override
val
state
:
Flow
<
S
>
Functions
dispatch
Link copied to clipboard
open
suspend override
fun
dispatch
(
action
:
A
)