micro_utils.dokka
0.19.9
common
micro_utils.dokka
/
dev.inmo.micro_utils.fsm.common.dsl
/
FSMBuilder
/
add
add
fun
add
(
handler
:
CheckableHandlerHolder
<
T
,
T
>
)
fun
<
I
:
T
>
add
(
kClass
:
KClass
<
I
>
,
handler
:
StatesHandler
<
I
,
T
>
)
fun
<
I
:
T
>
add
(
filter
:
suspend
(
state
:
State
)
->
Boolean
,
handler
:
StatesHandler
<
I
,
T
>
)