clj-statecharts icon indicating copy to clipboard operation
clj-statecharts copied to clipboard

State Machine and StateCharts for Clojure(Script)

Results 10 clj-statecharts issues
Sort by recently updated
recently updated
newest added

I am getting the following error when running the friends example from the docs: ```Error: fsm :friends got unknown event :success-load when in state ```

XState has an api to ask which signals are allowed given the current state: ```js const { initialState } = lightMachine; console.log(initialState.nextEvents); // => ['TIMER', 'EMERGENCY'] ``` This is really...

would be good to know if the process is done. Currently just `:parallel` is supported as `:type` in the Schema + would be good to not to allow signals after...

I have a few suggestions on how to make clj-statecharts even more extensible and data oriented. I mostly work in re-frame, so my requirements comes from that field, but these...

I noticed when looking at the implementation of `assign` that there was a nice docstring for it, but that it gets lost when re-`def`-ed in `statecharts.core`. Even for the functions...

help wanted
good first issue

I'm experimenting with clj-statecharts for the purpose of using it with LibGDX. A common pattern there is for a screen instance to react to an action of a user by...

This is a place holder for creating a visualizer like the one XState has.

The statecharts website has an [article](https://statecharts.dev/glossary/history-state.html) on what are history states. From the article, > A history state is a pseudostate, meaning that a state machine can’t rest in a...

The documentation on [EventLess Transitions](https://lucywang000.github.io/clj-statecharts/docs/transitions/#eventless-transitions) describes very well what happens when in state `:s1`, event `:e12` happens and either `guard23` or `guard24` return true. If they are not true, it...

standard-compliance

The `:after` keyword can be used to specify a delayed transition, and allows a function that returns a dynamic delay. Would it make sense to cancel the delay if the...