mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-14 07:43:00 +00:00
refactoring and fixes
This commit is contained in:
1 parent
3e58114eeb
commit
ad97008f12
3 files changed
+50
-14
No files matched your search
+1
-1
@@ -94,7 +94,7 @@ class DefaultBehaviourContextWithFSM<T : State>(
|
||||
private val additionalHandlers = mutableListOf<BehaviourWithFSMStateHandlerHolder<*, T>>()
|
||||
private var actualHandlersList = additionalHandlers + handlers
|
||||
|
||||
private suspend fun getSubContext(context: Any) = updatesFlows.getOrPut(context) {
|
||||
private fun getSubContext(context: Any) = updatesFlows.getOrPut(context) {
|
||||
createSubContext()
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user