Replies: 2 comments
-
Worked around by using a universal superstate that all states inherit from; and ignoring all triggers for that superstate. |
Beta Was this translation helpful? Give feedback.
0 replies
-
From the README: https://github.com/dotnet-state-machine/stateless/blob/dev/README.md#ignored-transitions-and-reentrant-states You can simply use: stateMachine.OnUnhandledTrigger((state, trigger) => { }); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, is it possible to configure the StateMachine to assume that any unspecified transition should be ignored when calling
Fire
?If this is your desired behavior and you have many states and triggers, configuring every state / trigger pair with the
Ignore
feature is very tedious. I'm wondering if there's some kind of StateMachine-level configuration flag I can set to do this. Thanks.Beta Was this translation helpful? Give feedback.
All reactions