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

[6.x] Add dispatchEventually() #31300

Merged
merged 1 commit into from
Jan 30, 2020
Merged

[6.x] Add dispatchEventually() #31300

merged 1 commit into from
Jan 30, 2020

Conversation

themsaid
Copy link
Member

@themsaid themsaid commented Jan 30, 2020

This method makes the job run after the response is sent and before closing the connection. It simply registers a terminating callback that the application runs before it's done with the request.

It can be useful to dispatch a short job instantly instead of sending it to a queue system.

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