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

Emit events on state machine signals #593

Open
zimri-leisher opened this issue Feb 3, 2025 · 0 comments
Open

Emit events on state machine signals #593

zimri-leisher opened this issue Feb 3, 2025 · 0 comments
Labels
proposed feature A proposed new feature

Comments

@zimri-leisher
Copy link

One common pattern I have is creation actions to raise events. For instance, see warn_invalidCmd in the following code:

Image

It would be nice if I could instead say:

Image

Perhaps the type of the event args would have to correspond to the type of the signal. It might also have two implicit args (current state, and signal received).

@bocchino bocchino added the proposed feature A proposed new feature label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposed feature A proposed new feature
Projects
Status: To do
Development

No branches or pull requests

2 participants