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

Add StateMachineBuilder trait #1

Merged
merged 5 commits into from
Feb 3, 2021

Conversation

yuk1ty
Copy link
Owner

@yuk1ty yuk1ty commented Feb 2, 2021

Motivation

Now we don't have any way to expand our own StateMachineBuilder because the builder is struct. There is no correct way to expand its builder according to the user's own implementation when the users create their own StateMachine and want to expand the builder to be able to assemble their StateMachine.

Todo

-[x] Add StateMachineBuilder trait.
- due to this issue, I can no longer use mut self in the functions, so I'll change it to self.
-[x] Rename old StateMachineBuilder to BasicMachineBuilder (because the builder is to create BasicStateMachine).
-[x] Update docs.

@yuk1ty yuk1ty merged commit 28d4f31 into under-deveplop Feb 3, 2021
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

Successfully merging this pull request may close these issues.

1 participant