micro_utils.dokka
0.15.0
common
micro_utils.dokka
/
dev.inmo.micro_utils.fsm.common.dsl
/
[common]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
>
)