mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-11-17 13:53:49 +00:00
upfill kdocs
This commit is contained in:
parent
bc7789ad2c
commit
e9c5df4c13
@ -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?
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user