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

Callback symbols and transition callbacks by convention #241

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

tlloydthwaites
Copy link

When building a workflow spec dynamically we can't specify procs, but we can specify symbols for methods we want to run.

This PR allows us to specify a symbol when calling on_entry and on_exit.

It also tries to call before_transition, on_transition, after_transition, and on_error as methods on the workflow object as well as using the standard procs.

@tlloydthwaites tlloydthwaites marked this pull request as ready for review March 7, 2024 04:05
@geekq geekq force-pushed the develop branch 3 times, most recently from b97ab82 to 970f839 Compare May 17, 2024 07:59
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.

None yet

1 participant