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

[2.x] Add success callbacks #219

Merged
merged 6 commits into from
Feb 26, 2021
Merged

[2.x] Add success callbacks #219

merged 6 commits into from
Feb 26, 2021

Conversation

simonhamp
Copy link
Contributor

@finished is a catch-all which always runs, regardless of the result.

@after runs after each task, meaning stories end up firing afters many times.

Currently, only error scenarios are handled discretely via @error. There is no explicit compliment to that for a success.

Ideally this would be something like @success. Hence this PR

@driesvints driesvints changed the title Add success callbacks [2.x] Add success callbacks Feb 26, 2021
@taylorotwell taylorotwell merged commit 97a8e1b into laravel:2.x Feb 26, 2021
@taylorotwell
Copy link
Member

Thanks!

@taylorotwell
Copy link
Member

Would you mind sending in a documentation PR for this stuff?

@simonhamp
Copy link
Contributor Author

Will do

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.

2 participants