Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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]>
- Loading branch information