Open
Description
Wanted to say thanks for developing this state machine library! Are there plans in the future to add support for calling suspending functions from within the handlers? Right now to workaround this we need to do something like
state<State.MyState> {
on<Event.MyEvent> {
runBlocking {
mySuspendingFunction()
}
}
}
Would be nice to just be able to call mySuspendingFunction()
from directly within the event handler.
Also, is the version 0.3.0
going to be published to maven? It looks like the most recent version on maven is 0.2.0
https://mvnrepository.com/artifact/com.tinder.statemachine/statemachine.
Metadata
Assignees
Labels
No labels