toggle menu
kfsm
jvm
switch theme
search in API
lib
/
app.cash.kfsm
/
TransitionerAsync
Transitioner
Async
abstract
class
TransitionerAsync
<
ID
,
T
:
Transition
<
ID
,
V
,
S
>
,
V
:
Value
<
ID
,
V
,
S
>
,
S
:
State
<
ID
,
V
,
S
>
>
Members
Constructors
Transitioner
Async
Link copied to clipboard
constructor
(
)
Functions
persist
Link copied to clipboard
open
suspend
fun
persist
(
from
:
S
,
value
:
V
,
via
:
T
)
:
Result
<
V
>
post
Hook
Link copied to clipboard
open
suspend
fun
postHook
(
from
:
S
,
value
:
V
,
via
:
T
)
:
Result
<
Unit
>
pre
Hook
Link copied to clipboard
open
suspend
fun
preHook
(
value
:
V
,
via
:
T
)
:
Result
<
Unit
>
transition
Link copied to clipboard
suspend
fun
transition
(
value
:
V
,
transition
:
T
)
:
Result
<
V
>