mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-13 15:33:23 +00:00
upfill kdocs
This commit is contained in:
1 parent
bc7789ad2c
commit
e9c5df4c13
1 file changed
+2
-1
@@ -5,7 +5,8 @@ package dev.inmo.micro_utils.fsm.common
|
|||||||
*/
|
*/
|
||||||
fun interface StatesHandler<I : State> {
|
fun interface StatesHandler<I : State> {
|
||||||
/**
|
/**
|
||||||
*
|
* Main handling of [state]. In case when this [state] leads to another [State] and [handleState] returns not null
|
||||||
|
* [State] it is assumed that chain is not completed.
|
||||||
*/
|
*/
|
||||||
suspend fun StatesMachine.handleState(state: I): State?
|
suspend fun StatesMachine.handleState(state: I): State?
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user