-
Notifications
You must be signed in to change notification settings - Fork 14
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
willExit & didExit appear to run when entering that state #22
Comments
@hhff I'm doing great! But I'm a horrible OSS maintainer 😢 Are you still reliant on Ember.FSM or have you moved on? This project needs serious love to get it up to speed, I've started climbing that mountain twice now and keep having to do other stuff. P.S. Saw you hosting the NYC Ember meetup last month ❤️ |
@heycarsten that's cool man it still works really great! I do still use it (alot) in Ember CLI apps and for the most part it's great! I'm just a lil confused by this behavior here, but I may be missing something! Haha yeah I was being a goof @ ember nyc 😈 |
@hhff Okay good to know, I shall fight the good fight then. This does seem very weird to me, I'll look into it. What does your machine definition look like? |
Haha well don't stress! I'm not blocked! I found a work around that's not ideal but works fine! Right now - it looks like this:
Right now - I'm using Ideally I was hoping to only run the first two lines of Is this expected behavior and am I tripping? |
@hhff Okay, I've got the project on proper ES6 now, it's an Ember Addon, release 1.0.0 🔥 is under my butt now. This issue is next on my list. |
AMAZING thankyou Carsten!! |
heycarsten
!I may be being a silly boy, but it appears that
willExit
anddidExit
run on entering a state.This is being used in an
FSM#Stateful
service.I was hoping to use
willExit()
to return a promise that will authenticate the current user when attempting a transition from the identity step. Am I being a silly boy??Hope you're great Carsten!! Miss you man
The text was updated successfully, but these errors were encountered: