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

Because I want to determine the action according to the `toState` state. If you can I can create an extension function then I can write to flow. ex) If `toState`...

Hi, I wanna bounce of you a design question, since im trying to rewrite "implicit" state machine to explicit one Usually the code looks like this ``` fun foo() {...

Do you support asynchronous event handling ? I mean, does the transition wait for the side effect to complete to change state ? I would like to do a network...

What if state machine will throw an exception when we try to do transition to some state by undeclared event (sorry for my english). For example: declaring state machine behaviour...

If this is confusing, please let me know. Given the test code: ``` val stateMachine = StateMachine.create { initialState(State.Solid) state { on { transitionTo(State.Liquid, SideEffect.LogMelted) } } state { on...

Hello! I want to contribute on your project with making logo design. What do you think about it? Best Regards, Arslan Şahin Graphics Designer

I have final state (ERROR) which hasn't any transitions or specific actions. Should I describe it anyway in empty `state` branch? Now I miss it so I receive > java.lang.IllegalStateException:...

For example, if used on a public enum, it will generate internal enum `HashableIdentifier` and internal vars `hashableIdentifier` and `associatedValue`. This fails to compile.

- #62 Key changes: - Updated the Gradle Wrapper to `8.9` - Updated Kotlin to `2.0.0` - Updated the Maven Repository Dependency to `0.29.0` - Replaced AssertJ with Google Truth