-
Notifications
You must be signed in to change notification settings - Fork 123
fsm: expand fsm #667
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
fsm: expand fsm #667
Conversation
bhandras
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending the option fix. 🌮
hieblmi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only commented on minor issues.
This commit adds: - a default observer to the FSM - more info to the action entry and exit funcs - an optional initial wait time for the WaitForState function
bhandras
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 🚀
| var options fsmOptions | ||
|
|
||
| for _, opt := range opts { | ||
| opt.apply(&options) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool! Looks good now!
This PR adds: