mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2025-09-03 07:09:35 +00:00
upfill kdocs
This commit is contained in:
@@ -5,7 +5,8 @@ package dev.inmo.micro_utils.fsm.common
|
||||
*/
|
||||
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?
|
||||
}
|
||||
|
Reference in New Issue
Block a user