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

I want to transition state inside of state method. #61

Open
barisozanguler opened this issue Apr 14, 2016 · 1 comment
Open

I want to transition state inside of state method. #61

barisozanguler opened this issue Apr 14, 2016 · 1 comment
Labels

Comments

@barisozanguler
Copy link

Hi,

I'm working on Android Project for RF device communication on OTG port. So there is too much byte for processing. My project also have web site developed on node.js. I'm using machina-js on javascript side and I will transition between states inside of state method with some conditions.

Is it possible with this library ? Also if you have any advice for using on android platform or conditional byte processing, I would appreciate.

Thanks.

@hekailiang
Copy link
Owner

You can fire event inside your state method. You can find this kind of usage in DecisionStateSampleTest class.

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

No branches or pull requests

2 participants