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