mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-03 00:15:27 +00:00
8 lines
235 B
Kotlin
8 lines
235 B
Kotlin
package dev.inmo.tgbotapi.extensions.behaviour_builder
|
|
|
|
import dev.inmo.micro_utils.fsm.common.*
|
|
|
|
fun interface BehaviourWithFSMStateHandler<I : O, O : State> {
|
|
suspend fun BehaviourContextWithFSM<in O>.handleState(state: I): O?
|
|
}
|