You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[9.x] Enable dispatchAfterResponse for batch 🔥 (#41787)
* [9.x] Enable dispatchAfterResponse for batch 🔥
[before]
batch can't be dispatched after response sent to user.
[after]
batch can be dipatched and all jobs will be saved to storage after response.
- added dispatchAfterResponse method to:
1- store batch itself into database
2- register a terminating callback to dispatch batch jobs
3- return created batch
- added private dispatchAlreadyCreated method to:
1- dispatch batch jobs and fire BatchDispatched event like before but without creating
batch because we already created it in dispatchAfterResponse
* formatting
Co-authored-by: Taylor Otwell <[email protected]>
0 commit comments