Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose InternalTransitions with an Event Handler #377

Open
juliusl opened this issue Apr 27, 2020 · 1 comment
Open

Expose InternalTransitions with an Event Handler #377

juliusl opened this issue Apr 27, 2020 · 1 comment

Comments

@juliusl
Copy link
Contributor

juliusl commented Apr 27, 2020

Feature request (copied from draft PR)

In one of my projects I use System.Reactive to drive parts of the state machine. I find InternalTransitions useful for a bunch of discrete steps you'd like fine-grained control on, but that do not represent a super state. I noticed in the current implementation these transitions are not exposed to the OnTransitioned handler, which I find reasonable as they do not represent a transition.

However, it would be useful to expose them in a way so that you could use RX to drive the state machine using internal transitions as well as normal transitions.

I added a draft PR for discussion and review.

#376

Thanks,

@HenningNT
Copy link
Contributor

Thank you!

Please find my comments in the PR discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants