docs
4.1.3
common
docs
/
dev.inmo.tgbotapi.extensions.behaviour_builder
/
BehaviourWithFSMStateHandler
Behaviour
With
FSMState
Handler
fun
interface
BehaviourWithFSMStateHandler
<
I
:
O
,
O
:
State
>
:
StatesHandler
<
I
,
O
>
Functions
Inheritors
Functions
handle
State
Link copied to clipboard
open
suspend override
fun
StatesMachine
<
in
O
>
.
handleState
(
state
:
I
)
:
O
?
abstract
suspend
fun
BehaviourContextWithFSM
<
in
O
>
.
handleState
(
state
:
I
)
:
O
?
Inheritors
BehaviourWithFSMStateHandlerHolder
Link copied to clipboard