upfill kdocs

This commit is contained in:
InsanusMokrassar 2021-10-13 15:09:05 +06:00
parent bc7789ad2c
commit e9c5df4c13
1 changed files with 2 additions and 1 deletions

View File

@ -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?
}