StateMachine icon indicating copy to clipboard operation
StateMachine copied to clipboard

A Kotlin and Swift DSL for finite state machine

Results 30 StateMachine issues
Sort by recently updated
recently updated
newest added

Hi, I have implemented and ad-hoc Bluetooth connection state machine based on states and events (no need for `SideEffect`s / actions for the moment). I was thinking about switching that...

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...

An update to support multiple platforms including native

Hi! I just clicked on a link that leads to the sonatype's snapshots repository and got 403 forbidden. [![bandicam-2022-01-27-22-54-28-840-online-video-cutter.com.gif](https://s10.gifyu.com/images/bandicam-2022-01-27-22-54-28-840-online-video-cutter.com.gif)](https://gifyu.com/image/SbDuu) Is this okay?

Those event are present in an android version of the state machine and are missed in iOS version, so it is not possible to use the same logic between platforms.

Migrated from oss.sonatype.org to s01.oss.sonatype.org.

Hi, As in your readme file, I would like to test the transitions: ```kotlin assertThat(transition).isEqualTo( StateMachine.Transition.Valid(Solid, OnMelted, Liquid, LogMelted) ) ``` But, the "Valid" data class has an `internal` constructor...

Hi, I really appreciate your implementation of state machine. I have one question though: you have this method called `dontTransition()` which makes the state machine reenter the same state. What...

Is there a way to express all states as the start of a transition? In other words, if there is a transition that causes all states to go to one...